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:
Unknown W. Brackets committed 2013-08-07 00:32:29 -07:00
1 parent dc56ab9e83
commit b1344f8254
4 files changed
+6 -13

No files matched your search

+2 -2
View File
@@ -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";