mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-01 22:31:58 +00:00
Simplify, don't let InterpretList do downcount.
This commit is contained in:
parent
1edbfa3212
commit
597cdbca3f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user