mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-01 14:24:02 +00: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:
parent
5944981d9b
commit
d1fd16ecba
@ -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;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 3024341543e8f6a338d793bbc8701ea55e2d5c99
|
||||
Subproject commit e6dfb3f2c2ad71475aaad2d7c6807e91b64e5ab1
|
2
test.py
2
test.py
@ -31,6 +31,7 @@ tests_good = [
|
||||
"string/string",
|
||||
"gpu/callbacks/ge_callbacks",
|
||||
"threads/mbx/mbx",
|
||||
"threads/semaphores/semaphores",
|
||||
"power/power",
|
||||
"rtc/rtc",
|
||||
"umd/callbacks/umd",
|
||||
@ -55,7 +56,6 @@ tests_good = [
|
||||
"threads/msgpipe/msgpipe",
|
||||
"threads/mutex/mutex",
|
||||
"threads/scheduling/scheduling",
|
||||
"threads/semaphores/semaphores",
|
||||
"threads/threads/threads",
|
||||
"threads/vpl/vpl",
|
||||
"threads/vtimers/vtimers",
|
||||
|
Loading…
x
Reference in New Issue
Block a user