diff --git a/Core/HLE/sceUmd.cpp b/Core/HLE/sceUmd.cpp index f9e8873609..a4a8347fee 100644 --- a/Core/HLE/sceUmd.cpp +++ b/Core/HLE/sceUmd.cpp @@ -152,7 +152,7 @@ void __UmdBeginCallback(SceUID threadID, SceUID prevCallbackId) for (auto it = umdWaitingThreads.begin(); it < umdWaitingThreads.end(); ++it) { - if (threadID == threadID) + if (*it == threadID) umdWaitingThreads.erase(it--); }