mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 10:40:01 +01:00
Add handlers for callbacks during mbx waits.
This commit is contained in:
1 parent
648dd5f154
commit
3903f27dfd
2 files changed
+132
-12
No files matched your search
@@ -203,7 +203,6 @@ void __KernelEventFlagBeginCallback(SceUID threadID, SceUID prevCallbackId)
|
||||
EventFlag *flag = flagID == 0 ? NULL : kernelObjects.Get<EventFlag>(flagID, error);
|
||||
if (flag)
|
||||
{
|
||||
|
||||
// This means two callbacks in a row. PSP crashes if the same callback runs inside itself.
|
||||
// TODO: Handle this better?
|
||||
if (flag->pausedWaits.find(pauseKey) != flag->pausedWaits.end())
|
||||
|
||||
Reference in new issue
Block a user