mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-17 23:47:40 +00: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:
parent
6fae78cd3f
commit
0f45c3516d
@ -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),
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user