Clear module text and bss on unload.

Text is set to break instructions, data/bss to -1.  Matches results on a
PSP.
This commit is contained in:
Unknown W. Brackets 2014-07-13 20:25:50 -07:00
parent ede29179c6
commit 292a9ea567
3 changed files with 16 additions and 4 deletions

View file

@ -1153,7 +1153,7 @@ void __KernelThreadingInit()
MIPS_MAKE_JR_RA(),
//MIPS_MAKE_SYSCALL("ThreadManForUser", "sceKernelDelayThread"),
MIPS_MAKE_SYSCALL("FakeSysCalls", "_sceKernelIdle"),
MIPS_MAKE_BREAK(),
MIPS_MAKE_BREAK(0),
};
// If you add another func here, don't forget __KernelThreadingDoState() below.