mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix timing drift on CoreTiming::ForceCheck().
Since -1 -(-1) = 0, we'll never think we moved forward this way.
This commit is contained in:
parent
d6c2b6e9ae
commit
6bf1390603
2 changed files with 2 additions and 2 deletions
|
@ -572,7 +572,7 @@ void ForceCheck()
|
|||
// This will cause us to check for new events immediately.
|
||||
currentMIPS->downcount = -1;
|
||||
// But let's not eat a bunch more time in Advance() because of this.
|
||||
slicelength = 1;
|
||||
slicelength = -1;
|
||||
}
|
||||
|
||||
void Advance()
|
||||
|
|
|
@ -149,7 +149,7 @@ bool IRJit::ReplaceJalTo(u32 dest) {
|
|||
}
|
||||
|
||||
void IRBlockCache::Clear() {
|
||||
for (size_t i = 0; i < blocks_.size(); ++i) {
|
||||
for (int i = 0; i < size_; ++i) {
|
||||
blocks_[i].Destroy(i);
|
||||
}
|
||||
blocks_.clear();
|
||||
|
|
Loading…
Add table
Reference in a new issue