mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue