mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Enable checking the format string, fix some issues
This commit is contained in:
1 parent
b92d822efe
commit
f962fb0386
8 files changed
+28
-25
No files matched your search
@@ -2054,7 +2054,7 @@ int sceKernelLoadExec(const char *filename, u32 paramPtr) {
|
||||
|
||||
s64 size = (s64)info.size;
|
||||
if (!size) {
|
||||
return hleLogError(Log::Loader, SCE_KERNEL_ERROR_ILLEGAL_OBJECT, "File is size 0", filename);
|
||||
return hleLogError(Log::Loader, SCE_KERNEL_ERROR_ILLEGAL_OBJECT, "File is size 0");
|
||||
}
|
||||
|
||||
DEBUG_LOG(Log::sceModule, "sceKernelLoadExec(name=%s,...): loading %s", filename, exec_filename.c_str());
|
||||
@@ -2549,7 +2549,7 @@ u32 sceKernelFindModuleByName(const char *name)
|
||||
}
|
||||
}
|
||||
}
|
||||
return hleLogWarning(Log::sceModule, 0, "Module Not Found", name);
|
||||
return hleLogWarning(Log::sceModule, 0, "Module Not Found");
|
||||
}
|
||||
|
||||
static u32 sceKernelLoadModuleByID(u32 id, u32 flags, u32 lmoptionPtr)
|
||||
|
||||
Reference in new issue
Block a user