Hack: Return -1 specifically for trying to load SFO's as modules. Works around #6748

Will test properly later and return the correct value but this should be zero-impact.
This commit is contained in:
Henrik Rydgard 2014-08-21 10:34:56 +02:00
parent d52c87d82c
commit dfbb0bdea2

View File

@ -1697,7 +1697,7 @@ u32 sceKernelLoadModule(const char *name, u32 flags, u32 optionAddr)
if (!module) {
if (magic == 0x46535000) {
ERROR_LOG(LOADER, "Game tried to load an SFO as a module. Go figure? Magic = %08x", magic);
return error;
return -1;
}
if (info.name == "BOOT.BIN")