diff --git a/Core/HLE/sceKernelModule.cpp b/Core/HLE/sceKernelModule.cpp index 57ddbc3c4d..f014f44495 100644 --- a/Core/HLE/sceKernelModule.cpp +++ b/Core/HLE/sceKernelModule.cpp @@ -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")