mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fixed threads/k0 test, updated pspautotests
This commit is contained in:
parent
10ec424787
commit
b12bc54dda
3 changed files with 10 additions and 1 deletions
|
@ -371,6 +371,14 @@ public:
|
|||
// What's this 512?
|
||||
context.r[MIPS_REG_K0] = context.r[MIPS_REG_SP] - 256;
|
||||
context.r[MIPS_REG_SP] -= 512;
|
||||
u32 k0 = context.r[MIPS_REG_K0];
|
||||
Memory::Memset(k0, 0, 0x100);
|
||||
Memory::Write_U32(nt.initialStack, k0 + 0xc0);
|
||||
Memory::Write_U32(GetUID(), k0 + 0xca);
|
||||
Memory::Write_U32(0xffffffff, k0 + 0xf8);
|
||||
Memory::Write_U32(0xffffffff, k0 + 0xfc);
|
||||
|
||||
Memory::Write_U32(GetUID(), nt.initialStack);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 3f1dc654e66c37098169881e7d6437db3157dff8
|
||||
Subproject commit a35333fa37a6439ef6623fad7b66f19115ccf724
|
1
test.py
1
test.py
|
@ -74,6 +74,7 @@ tests_good = [
|
|||
"threads/events/refer/refer",
|
||||
"threads/events/set/set",
|
||||
"threads/events/wait/wait",
|
||||
"threads/k0/k0",
|
||||
"threads/lwmutex/create/create",
|
||||
"threads/lwmutex/delete/delete",
|
||||
"threads/lwmutex/lock/lock",
|
||||
|
|
Loading…
Add table
Reference in a new issue