mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 05:50:29 +02:00
Simplify, don't let InterpretList do downcount.
This commit is contained in:
1 parent
1edbfa3212
commit
597cdbca3f
1 file changed
+2
-1
+2
-1
@@ -465,7 +465,8 @@ inline void GPUCommon::UpdatePC(u32 currentPC, u32 newPC)
|
||||
cyclesExecuted += 2 * (currentPC - cycleLastPC) / 4;
|
||||
cycleLastPC = newPC == 0 ? currentPC : newPC;
|
||||
|
||||
downcount = currentList->stall == 0 ? 0xFFFFFFF : (currentList->stall - currentList->pc) / 4;
|
||||
// Exit the runloop and recalculate things. This isn't common.
|
||||
downcount = 0;
|
||||
}
|
||||
|
||||
inline void GPUCommon::UpdateState(GPUState state)
|
||||
|
||||
Reference in new issue
Block a user