mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Check enqueue as well, should be safer.
Also, make sure not to eat a bunch more cycles when forcing a check.
This commit is contained in:
1 parent
74f58ed357
commit
d305d1faa2
2 files changed
+8
-2
No files matched your search
@@ -525,6 +525,8 @@ void ForceCheck()
|
||||
globalTimer += cyclesExecuted;
|
||||
// This will cause us to check for new events immediately.
|
||||
currentMIPS->downcount = 0;
|
||||
// But let's not eat a bunnch more time in Advance() because of this.
|
||||
slicelength = 0;
|
||||
}
|
||||
|
||||
void Advance()
|
||||
@@ -541,6 +543,7 @@ void Advance()
|
||||
{
|
||||
// WARN_LOG(TIMER, "WARNING - no events in queue. Setting currentMIPS->downcount to 10000");
|
||||
currentMIPS->downcount += 10000;
|
||||
slicelength = 10000;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user