mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Fix alarm test by not interrupting when disabled.
vblank was interrupting/rescheduling when interrupts were disabled. That's bad.
This commit is contained in:
1 parent
c7204797e7
commit
2fa0cf040d
3 files changed
+10
-4
No files matched your search
@@ -386,6 +386,11 @@ void __TriggerRunInterrupts(int type)
|
||||
{
|
||||
if ((type & PSP_INTR_HLE) != 0)
|
||||
hleRunInterrupts();
|
||||
else if ((type & PSP_INTR_ALWAYS_RESCHED) != 0)
|
||||
{
|
||||
if (!__RunOnePendingInterrupt())
|
||||
__KernelSwitchOffThread("interrupt");
|
||||
}
|
||||
else
|
||||
__RunOnePendingInterrupt();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user