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.
This commit is contained in:
Tillmann Karras
2025-08-25 20:21:25 +01:00
parent e0c72cd963
commit 18f0bd1d4b

View File

@@ -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;