GCC buildfix

This commit is contained in:
Henrik Rydgard 2014-03-04 11:38:25 +01:00
parent b1acde2679
commit e11e4cfff2

View file

@ -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;