Fix booting from extracted directories specified on the command line, reported by Kotcrab

This commit is contained in:
Henrik Rydgård committed 2026-08-20 00:54:26 +02:00
1 parent acf7effaeb
commit 1910be0b47
3 files changed
+14 -10

No files matched your search

+1 -1
View File
@@ -357,7 +357,7 @@ static bool CPU_Init(FileLoader *fileLoader, IdentifiedFileType type, std::strin
case IdentifiedFileType::PSP_ISO:
case IdentifiedFileType::PSP_ISO_NP:
case IdentifiedFileType::PSP_DISC_DIRECTORY:
// Doesn't seem to take ownership of fileLoader?
// Doesn't take ownership of fileLoader. We store it in g_loadedFile later.
if (!MountGameISO(fileLoader, errorString)) {
*errorString = "Failed to mount ISO file: " + *errorString;
return false;