Core: Make play time tracking use SteadyAwakeClock.

This commit is contained in:
Jordan Woyak 2025-07-24 00:02:49 -05:00
commit 81ebf45c9b

View file

@ -72,8 +72,8 @@ void CPUManager::StartTimePlayedTimer()
{
Common::SetCurrentThreadName("Play Time Tracker");
// Steady clock for greater accuracy of timing
std::chrono::steady_clock timer;
// Use a clock that will appropriately ignore suspended system time.
Common::SteadyAwakeClock timer;
auto prev_time = timer.now();
while (true)