mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
Skip setting a0 in the idle thread.
We don't need the param for our fake syscall. This is safe since it's all savestated.
This commit is contained in:
1 parent
6fae78cd3f
commit
0f45c3516d
1 file changed
-2
@@ -1148,10 +1148,8 @@ void __KernelThreadingInit()
|
||||
|
||||
// Yeah, this is straight out of JPCSP, I should be ashamed.
|
||||
const static u32_le idleThreadCode[] = {
|
||||
MIPS_MAKE_ADDIU(MIPS_REG_A0, MIPS_REG_ZERO, 0),
|
||||
MIPS_MAKE_LUI(MIPS_REG_RA, 0x0800),
|
||||
MIPS_MAKE_JR_RA(),
|
||||
//MIPS_MAKE_SYSCALL("ThreadManForUser", "sceKernelDelayThread"),
|
||||
MIPS_MAKE_SYSCALL("FakeSysCalls", "_sceKernelIdle"),
|
||||
MIPS_MAKE_BREAK(0),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user