From 7bf77a56f48ebc42fd94eac9a7f557bbc093f12a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 28 Feb 2024 10:20:03 -0500 Subject: [PATCH] VertexManagerBase: Initialize m_ticks_elapsed on construction Ensures that this always has a deterministic value on construction like everything else in the class. --- Source/Core/VideoCommon/VertexManagerBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/VertexManagerBase.h b/Source/Core/VideoCommon/VertexManagerBase.h index 50032419bd..c1248972da 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.h +++ b/Source/Core/VideoCommon/VertexManagerBase.h @@ -247,7 +247,7 @@ private: bool m_allow_background_execution = true; std::unique_ptr m_custom_shader_cache; - u64 m_ticks_elapsed; + u64 m_ticks_elapsed = 0; Common::EventHook m_frame_end_event; Common::EventHook m_after_present_event;