mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GCC buildfix
This commit is contained in:
parent
b1acde2679
commit
e11e4cfff2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue