Core/SystemTimers: Refactor to class, move to System.
This commit is contained in:
35 files changed
+258
-185
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user