Fix sceKernelCreateMutex() to match tests.

Still have an issue where reusing threads doesn't work.
This commit is contained in:
Unknown W. Brackets committed 2012-11-20 02:19:21 -08:00
1 parent a539580195
commit 4bfa24eca8
4 files changed
+40 -18

No files matched your search

+1 -1
View File
@@ -343,7 +343,7 @@ const HLEFunction ThreadManForUser[] =
{0xB011B11F,&WrapV_IIU<sceKernelLockMutex>,"sceKernelLockMutex"},
{0x5bf4dd27,&WrapV_IIU<sceKernelLockMutexCB>,"sceKernelLockMutexCB"},
{0x6b30100f,&WrapV_II<sceKernelUnlockMutex>,"sceKernelUnlockMutex"},
{0xb7d098c6,&WrapI_CUIU<sceKernelCreateMutex>,"sceKernelCreateMutex"},
{0xb7d098c6,&WrapV_CUIU<sceKernelCreateMutex>,"sceKernelCreateMutex"},
{0x0DDCD2C9, 0, "sceKernelTryLockMutex"},
// NOTE: LockLwMutex and UnlockLwMutex are in Kernel_Library, see sceKernelInterrupt.cpp.