mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue