diff --git a/Source/Core/Core/CoreTiming.h b/Source/Core/Core/CoreTiming.h index 84311291ec..25df6d6c90 100644 --- a/Source/Core/Core/CoreTiming.h +++ b/Source/Core/Core/CoreTiming.h @@ -203,8 +203,8 @@ private: EventType* m_ev_lost = nullptr; CPUThreadConfigCallback::ConfigChangedCallbackID m_registered_config_callback_id; - float m_config_oc_factor = 0.0f; - float m_config_oc_inv_factor = 0.0f; + float m_config_oc_factor = 1.0f; + float m_config_oc_inv_factor = 1.0f; bool m_config_sync_on_skip_idle = false; s64 m_throttle_reference_cycle = 0; 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; diff --git a/Source/Core/Core/IOS/Network/WD/Command.cpp b/Source/Core/Core/IOS/Network/WD/Command.cpp index ea788a7052..676650c660 100644 --- a/Source/Core/Core/IOS/Network/WD/Command.cpp +++ b/Source/Core/Core/IOS/Network/WD/Command.cpp @@ -28,7 +28,7 @@ constexpr u16 LegalNitroChannelMask = 0b0011'1111'1111'1110u; u16 SelectWifiChannel(u16 enabled_channels_mask, u16 current_channel) { - const Common::BitSet enabled_channels{enabled_channels_mask & LegalChannelMask}; + const Common::BitSet enabled_channels(enabled_channels_mask & LegalChannelMask); u16 next_channel = current_channel; for (int i = 0; i < 16; ++i) {