From a4e9ca40e443bf04b2be125cd7b95259aab7fb7a Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sat, 15 Feb 2014 15:44:32 +0100 Subject: [PATCH] Fix silly copy paste error. I'm tired. --- Core/PSPLoaders.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Core/PSPLoaders.cpp b/Core/PSPLoaders.cpp index c10f62f967..9682954f9e 100644 --- a/Core/PSPLoaders.cpp +++ b/Core/PSPLoaders.cpp @@ -158,11 +158,9 @@ bool Load_PSP_ISO(const char *filename, std::string *error_string) } // Bypass another more dangerous one where the file is in USRDIR - this could collide with files in some game. - for (int i = 0; i < ARRAY_SIZE(altBootNames); i++) { - std::string id = g_paramSFO.GetValueString("DISC_ID"); - if (id == "NPJH50624" && pspFileSystem.GetFileInfo("disc0:/PSP_GAME/USRDIR/PAKFILE2.BIN").exists) { - bootpath == "disc0:/PSP_GAME/USRDIR/PAKFILE2.BIN"; - } + std::string id = g_paramSFO.GetValueString("DISC_ID"); + if (id == "NPJH50624" && pspFileSystem.GetFileInfo("disc0:/PSP_GAME/USRDIR/PAKFILE2.BIN").exists) { + bootpath == "disc0:/PSP_GAME/USRDIR/PAKFILE2.BIN"; }