mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 05:50:29 +02:00
Get rid of CoreTiming::AdvanceQuick().
It basically existed for savestates, so no longer needed. Fixes issues with events not running when they should.
This commit is contained in:
1 parent
dc56ab9e83
commit
b1344f8254
4 files changed
+6
-13
No files matched your search
@@ -1169,7 +1169,7 @@ void __KernelIdle()
|
||||
CoreTiming::Idle();
|
||||
// Advance must happen between Idle and Reschedule, so that threads that were waiting for something
|
||||
// that was triggered at the end of the Idle period must get a chance to be scheduled.
|
||||
CoreTiming::AdvanceQuick();
|
||||
CoreTiming::Advance();
|
||||
|
||||
// We must've exited a callback?
|
||||
if (__KernelInCallback())
|
||||
@@ -1724,7 +1724,7 @@ void __KernelReSchedule(const char *reason)
|
||||
}
|
||||
|
||||
// Execute any pending events while we're doing scheduling.
|
||||
CoreTiming::AdvanceQuick();
|
||||
CoreTiming::Advance();
|
||||
if (__IsInInterrupt() || __KernelInCallback() || !__KernelIsDispatchEnabled())
|
||||
{
|
||||
reason = "In Interrupt Or Callback";
|
||||
|
||||
Reference in new issue
Block a user