From 658fa80c04d63f8fc270975d5f630b742bc5aa4d Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 25 Mar 2013 00:07:44 -0700 Subject: [PATCH] Don't wait on mutexes with dispatch disabled. Fixes #339. --- Core/HLE/sceKernel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceKernel.cpp b/Core/HLE/sceKernel.cpp index 0636e5eef0..dd8c7f346c 100644 --- a/Core/HLE/sceKernel.cpp +++ b/Core/HLE/sceKernel.cpp @@ -619,8 +619,8 @@ const HLEFunction ThreadManForUser[] = // NOTE: LockLwMutex, UnlockLwMutex, and ReferLwMutexStatus are in Kernel_Library, see sceKernelInterrupt.cpp. {0xf8170fbe,&WrapI_I, "sceKernelDeleteMutex"}, - {0xB011B11F,&WrapI_IIU, "sceKernelLockMutex"}, - {0x5bf4dd27,&WrapI_IIU, "sceKernelLockMutexCB"}, + {0xB011B11F,&WrapI_IIU, "sceKernelLockMutex", HLE_NOT_DISPATCH_SUSPENDED}, + {0x5bf4dd27,&WrapI_IIU, "sceKernelLockMutexCB", HLE_NOT_DISPATCH_SUSPENDED}, {0x6b30100f,&WrapI_II, "sceKernelUnlockMutex"}, {0xb7d098c6,&WrapI_CUIU, "sceKernelCreateMutex"}, {0x0DDCD2C9,&WrapI_II, "sceKernelTryLockMutex"},