PowerPC: Add PowerPCState parameter to UpdatePerformanceMonitor().

This commit is contained in:
Admiral H. Curtiss
2023-01-10 02:22:23 +01:00
parent 61ba516570
commit 485bba238e
7 changed files with 29 additions and 24 deletions

View File

@@ -447,7 +447,7 @@ void CoreTimingManager::Idle()
system.GetFifo().FlushGpu(system);
}
PowerPC::UpdatePerformanceMonitor(PowerPC::ppcState.downcount, 0, 0);
PowerPC::UpdatePerformanceMonitor(PowerPC::ppcState.downcount, 0, 0, PowerPC::ppcState);
m_idled_cycles += DowncountToCycles(PowerPC::ppcState.downcount);
PowerPC::ppcState.downcount = 0;
}