mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
GE Debugger: Fix dump replay ticks accounting.
Sometimes a list ends earlier than now, we don't need to eat cycles then. Fixes #11655.
This commit is contained in:
parent
02d2aa4069
commit
bb7d9646f2
@ -872,7 +872,10 @@ void DumpExecute::SyncStall() {
|
||||
gpu->UpdateStall(execListID, execListPos);
|
||||
s64 listTicks = gpu->GetListTicks(execListID);
|
||||
if (listTicks != -1) {
|
||||
currentMIPS->downcount -= listTicks - CoreTiming::GetTicks();
|
||||
s64 nowTicks = CoreTiming::GetTicks();
|
||||
if (listTicks > nowTicks) {
|
||||
currentMIPS->downcount -= listTicks - nowTicks;
|
||||
}
|
||||
}
|
||||
|
||||
// Make sure downcount doesn't overflow.
|
||||
|
Loading…
Reference in New Issue
Block a user