Fill registers with 0xDEADBEEF after most syscalls.

Some, like sceMpegRingbufferPut(), we don't, since... it's complicated.
But most we do, like a real PSP does.
This commit is contained in:
Unknown W. Brackets committed 2013-10-30 00:47:04 -07:00
1 parent 04ec987448
commit 9ebaf7b68b
5 files changed
+43

No files matched your search

+1
View File
@@ -1601,6 +1601,7 @@ u32 sceKernelStopUnloadSelfModuleWithStatus(u32 exitCode, u32 argSize, u32 argp,
void __KernelReturnFromModuleFunc()
{
// Return from the thread as normal.
hleSkipDeadbeef();
__KernelReturnFromThread();
SceUID leftModuleID = __KernelGetCurThreadModuleId();