mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Umd: Fix thread wakeup.
Oops. Not sure how I left this flag flipped. Was not waking threads.
This commit is contained in:
parent
f52bef7016
commit
74f08bee2a
@ -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>, "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"},
|
||||
|
Loading…
Reference in New Issue
Block a user