From 18f0bd1d4b31204eb858f8c6e540f3f300a4e688 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Mon, 25 Aug 2025 20:21:25 +0100 Subject: [PATCH] VI: set default overclock factor to 1.0 GetTicksPerHalfLine() gets called via Preset() before RefreshConfig() has a chance to replace the dummy value 0.0. Thank you, UB-san. --- Source/Core/Core/HW/VideoInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/VideoInterface.h b/Source/Core/Core/HW/VideoInterface.h index baffd7b58d..8a54243660 100644 --- a/Source/Core/Core/HW/VideoInterface.h +++ b/Source/Core/Core/HW/VideoInterface.h @@ -454,7 +454,7 @@ private: u32 m_even_field_last_hl = 0; // index last halfline of the even field u32 m_odd_field_last_hl = 0; // index last halfline of the odd field - float m_config_vi_oc_factor = 0.0f; + float m_config_vi_oc_factor = 1.0f; Config::ConfigChangedCallbackID m_config_changed_callback_id; Core::System& m_system;