More fixes and logging improvements

This commit is contained in:
Henrik Rydgard
2012-11-06 18:56:56 +01:00
parent 7894c6a1c5
commit aca35fc96c
7 changed files with 25 additions and 9 deletions
+4 -1
View File
@@ -825,8 +825,11 @@ u32 sceKernelStartThread()
//now copy argument to stack
for (int i = 0; i < (int)argSize; i++)
Memory::Write_U8(Memory::Read_U8(argBlockPtr + i), sp + i);
Memory::Write_U8(argBlockPtr ? Memory::Read_U8(argBlockPtr + i) : 0, sp + i);
if (!argBlockPtr && argSize > 0) {
WARN_LOG(HLE,"sceKernelStartThread : had NULL arg");
}
return 0;
}
else