mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 15:30:29 +02:00
Headless: Don't apply compat flags to frame dumps
Headless replays frame dumps to compare them with references and with the PSP, which a game's workarounds skew: DarkStalkers' present hack (16510) replaces the game's final upscale, so the replay didn't match the PSP's. The app still applies them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
c7a2cb6f63
commit
8b4d9c3b74
2 files changed
+9
-2
No files matched your search
+7
-1
@@ -498,7 +498,13 @@ static bool CPU_Init(FileLoader *fileLoader, IdentifiedFileType type, std::strin
|
||||
// Homebrew get fake disc IDs assigned to the global paramSFO, so they shouldn't clash with real games.
|
||||
|
||||
std::string discId = g_paramSFO.GetDiscID();
|
||||
g_CoreParameter.compat.Load(discId);
|
||||
if (type == IdentifiedFileType::PPSSPP_GE_DUMP && g_CoreParameter.headLess) {
|
||||
// Headless replays frame dumps to compare them with references and with the PSP, which a game's
|
||||
// workarounds would skew: DarkStalkers' present hack replaces the game's final upscale.
|
||||
g_CoreParameter.compat.Clear();
|
||||
} else {
|
||||
g_CoreParameter.compat.Load(discId);
|
||||
}
|
||||
ShowCompatWarnings(g_CoreParameter.compat);
|
||||
|
||||
// This must be before Memory::Init because plugins can override the memory size.
|
||||
|
||||
Reference in new issue
Block a user