More warning fixes, switches and printfs, etc.

This time ones not reported by Visual Studio.
This commit is contained in:
Unknown W. Brackets 2013-01-19 18:31:04 -08:00
parent 4d8700cbfa
commit 862c88d61a
7 changed files with 17 additions and 9 deletions

View file

@ -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;
}