Compat: Look PS1 games up as POPS

They're all run by the firmware's PS1 emulator, whose workarounds don't
depend on the game, so compat.ini settings for it go under POPS00000
(letters and digits like other IDs). Only the compat.ini lookup uses it:
savestates, save data and everything else keep the game's own ID.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-21 14:51:06 +02:00
1 parent 2c235b585e
commit 4197d0b8fc
2 files changed
+8

No files matched your search

+4
View File
@@ -514,6 +514,10 @@ static bool CPU_Init(FileLoader *fileLoader, IdentifiedFileType type, std::strin
// 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 if (type == IdentifiedFileType::PSP_PS1_PBP) {
// The PS1 emulator's workarounds don't depend on the PS1 game it runs. Only compat.ini sees this ID:
// savestates, save data and everything else use the game's own ID.
g_CoreParameter.compat.Load(POPS_COMPAT_ID);
} else {
g_CoreParameter.compat.Load(discId);
}