mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 09:19:05 +02:00
sceKernelStartThread(): skip argPtr for 0 args.
This makes threads/semaphores pass, so adding to passing list. Depends on an update to pspautotests.
This commit is contained in:
1 parent
5944981d9b
commit
d1fd16ecba
3 files changed
+3
-3
No files matched your search
@@ -859,7 +859,7 @@ u32 sceKernelStartThread()
|
||||
|
||||
startThread->nt.status = THREADSTATUS_READY;
|
||||
u32 sp = startThread->context.r[MIPS_REG_SP];
|
||||
if (argBlockPtr)
|
||||
if (argBlockPtr && argSize > 0)
|
||||
{
|
||||
startThread->context.r[MIPS_REG_A0] = argSize;
|
||||
startThread->context.r[MIPS_REG_A1] = sp;
|
||||
|
||||
Reference in new issue
Block a user