mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01: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
+3
-9
@@ -519,12 +519,14 @@ void MoveEvents()
|
||||
}
|
||||
}
|
||||
|
||||
void AdvanceQuick()
|
||||
void Advance()
|
||||
{
|
||||
int cyclesExecuted = slicelength - currentMIPS->downcount;
|
||||
globalTimer += cyclesExecuted;
|
||||
currentMIPS->downcount = slicelength;
|
||||
|
||||
if (Common::AtomicLoadAcquire(hasTsEvents))
|
||||
MoveEvents();
|
||||
ProcessFifoWaitEvents();
|
||||
|
||||
if (!first)
|
||||
@@ -543,14 +545,6 @@ void AdvanceQuick()
|
||||
advanceCallback(cyclesExecuted);
|
||||
}
|
||||
|
||||
void Advance()
|
||||
{
|
||||
if (Common::AtomicLoadAcquire(hasTsEvents))
|
||||
MoveEvents();
|
||||
|
||||
AdvanceQuick();
|
||||
}
|
||||
|
||||
void LogPendingEvents()
|
||||
{
|
||||
Event *ptr = first;
|
||||
|
||||
Reference in new issue
Block a user