mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
UI: List PS1 EBOOTs, with their own disc ID
The game browser left out EBOOTs with the PS1 category, which couldn't run. Now they're listed where the Media Engine can be emulated (Memory::CanCreateMESpace). And as a PS1 game's PARAM.SFO has no DISC_TOTAL, the browser took it for homebrew and gave it a made-up ID (SCUS00580 for Crash Bandicoot's SCUS94900): its own is kept now. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
a42bcba455
commit
7ced173c17
4 files changed
+15
-2
No files matched your search
@@ -634,8 +634,10 @@ public:
|
||||
info_->paramSFO.ReadSFO(sfoData);
|
||||
info_->ParseParamSFO(fileType);
|
||||
|
||||
// Assuming PSP_PBP_DIRECTORY without ID or with disc_total < 1 in GAME dir must be homebrew
|
||||
// Assuming PSP_PBP_DIRECTORY without ID or with disc_total < 1 in GAME dir must be homebrew.
|
||||
// Not a PS1 game, whose PARAM.SFO has no DISC_TOTAL.
|
||||
if ((info_->id.empty() || !info_->disc_total)
|
||||
&& info_->paramSFO.GetValueString("CATEGORY") != "ME"
|
||||
&& gamePath_.FilePathContainsNoCase("PSP/GAME/")
|
||||
&& fileType == IdentifiedFileType::PSP_PBP_DIRECTORY) {
|
||||
info_->id = g_paramSFO.GenerateFakeID(gamePath_);
|
||||
|
||||
Reference in new issue
Block a user