summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexManagerBase.cpp
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2024-01-05 01:50:29 -0500
committerGitHub <noreply@github.com>2024-01-05 01:50:29 -0500
commitbfb417fa98c324c3045e0892a23535a9b4ebde4d (patch)
tree7d830f22195984227e8dca5cff9d5e6156caf4d4 /Source/Core/VideoCommon/VertexManagerBase.cpp
parent9c91b5edca7b7e09d4020d03f5c94c482e09a56c (diff)
parent07c035e659ec6d7cc9d0b360a4a825d0cc20b439 (diff)
Merge pull request #12481 from AdmiralCurtiss/globals-systemtimers
Core/SystemTimers: Refactor to class, move to System.
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexManagerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp
index 17450ae0ed..906d88c25d 100644
--- a/Source/Core/VideoCommon/VertexManagerBase.cpp
+++ b/Source/Core/VideoCommon/VertexManagerBase.cpp
@@ -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;
}