Core/SystemTimers: Refactor to class, move to System.

This commit is contained in:
Admiral H. Curtiss 2024-01-04 23:07:50 +01:00
commit 07c035e659
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
35 changed files with 258 additions and 185 deletions

View file

@ -546,7 +546,7 @@ void VertexManagerBase::Flush()
if (g_ActiveConfig.bGraphicMods)
{
const double seconds_elapsed =
static_cast<double>(m_ticks_elapsed) / SystemTimers::GetTicksPerSecond();
static_cast<double>(m_ticks_elapsed) / system.GetSystemTimers().GetTicksPerSecond();
pixel_shader_manager.constants.time_ms = seconds_elapsed * 1000;
}