mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 17:19:42 +00:00
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:
parent
d52c87d82c
commit
dfbb0bdea2
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user