Skip to content

Commit

Permalink
Umd: Fix thread wakeup.
Browse files Browse the repository at this point in the history
Oops.  Not sure how I left this flag flipped.  Was not waking threads.
  • Loading branch information
unknownbrackets committed Apr 15, 2021
1 parent f52bef7 commit 74f08be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/HLE/sceUmd.cpp
Expand Up @@ -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) {
Expand Down Expand Up @@ -526,7 +526,7 @@ static u32 sceUmdReplacePermit()

const HLEFunction sceUmdUser[] =
{
{0XC6183D47, &WrapI_UC<sceUmdActivate>, "sceUmdActivate", 'i', "xs"},
{0XC6183D47, &WrapI_UC<sceUmdActivate>, "sceUmdActivate", 'i', "is"},
{0X6B4A146C, &WrapU_V<sceUmdGetDriveStat>, "sceUmdGetDriveStat", 'x', "" },
{0X46EBB729, &WrapI_V<sceUmdCheckMedium>, "sceUmdCheckMedium", 'i', "" },
{0XE83742BA, &WrapI_UC<sceUmdDeactivate>, "sceUmdDeactivate", 'i', "xs"},
Expand Down

0 comments on commit 74f08be

Please sign in to comment.