mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 20:28:35 +01:00
GCC buildfix
This commit is contained in:
1 parent
b1acde2679
commit
e11e4cfff2
1 file changed
+1
-1
+1
-1
@@ -556,7 +556,7 @@ void GPUCommon::SlowRunLoop(DisplayList &list)
|
||||
}
|
||||
|
||||
// The newPC parameter is used for jumps, we don't count cycles between.
|
||||
inline void GPUCommon::UpdatePC(u32 currentPC, u32 newPC) {
|
||||
void GPUCommon::UpdatePC(u32 currentPC, u32 newPC) {
|
||||
// Rough estimate, 2 CPU ticks (it's double the clock rate) per GPU instruction.
|
||||
int executed = (currentPC - cycleLastPC) / 4;
|
||||
cyclesExecuted += 2 * executed;
|
||||
|
||||
Reference in new issue
Block a user