From 74f08bee2a0042219d42fe7c5c1e7f3ee7430995 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 15 Apr 2021 11:16:56 -0700 Subject: [PATCH] Umd: Fix thread wakeup. Oops. Not sure how I left this flag flipped. Was not waking threads. --- Core/HLE/sceUmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceUmd.cpp b/Core/HLE/sceUmd.cpp index 381fd5fedd..8692bd8e1b 100644 --- a/Core/HLE/sceUmd.cpp +++ b/Core/HLE/sceUmd.cpp @@ -139,7 +139,7 @@ static void UmdWakeThreads() { u32 error; u32 stat = __KernelGetWaitValue(threadID, error); bool keep = false; - if (!HLEKernel::VerifyWait(threadID, WAITTYPE_UMD, 1)) { + if (HLEKernel::VerifyWait(threadID, WAITTYPE_UMD, 1)) { // Only if they are still waiting do we keep them in the list. keep = (stat & __KernelUmdGetState()) == 0; if (!keep) { @@ -526,7 +526,7 @@ static u32 sceUmdReplacePermit() const HLEFunction sceUmdUser[] = { - {0XC6183D47, &WrapI_UC, "sceUmdActivate", 'i', "xs"}, + {0XC6183D47, &WrapI_UC, "sceUmdActivate", 'i', "is"}, {0X6B4A146C, &WrapU_V, "sceUmdGetDriveStat", 'x', "" }, {0X46EBB729, &WrapI_V, "sceUmdCheckMedium", 'i', "" }, {0XE83742BA, &WrapI_UC, "sceUmdDeactivate", 'i', "xs"},