More warning fixes, switches and printfs, etc.
This time ones not reported by Visual Studio.
This commit is contained in:
parent
4d8700cbfa
commit
862c88d61a
7 changed files with 17 additions and 9 deletions
|
@ -903,7 +903,7 @@ u32 sceKernelLoadModuleByID(u32 id, u32 flags, u32 lmoptionPtr)
|
|||
{
|
||||
u32 error;
|
||||
u32 handle = __IoGetFileHandleFromId(id, error);
|
||||
if (handle < 0) {
|
||||
if (handle == -1) {
|
||||
ERROR_LOG(HLE,"sceKernelLoadModuleByID(%08x, %08x, %08x): could not open file id",id,flags,lmoptionPtr);
|
||||
return error;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue