From 3a2c0b778ab092f2c73823656f1794947e9dc2f8 Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Sun, 23 Dec 2012 19:53:15 +1300 Subject: [PATCH] Fixed stupid bool to int conversion warnings. --- Source/Core/DolphinWX/Src/VideoConfigDiag.h | 2 +- Source/Core/DolphinWX/Src/WiimoteConfigDiag.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Src/VideoConfigDiag.h b/Source/Core/DolphinWX/Src/VideoConfigDiag.h index e6b13a4092..c7a19c6cb8 100644 --- a/Source/Core/DolphinWX/Src/VideoConfigDiag.h +++ b/Source/Core/DolphinWX/Src/VideoConfigDiag.h @@ -112,7 +112,7 @@ protected: void Event_ProgressiveScan(wxCommandEvent &ev) { SConfig::GetInstance().m_SYSCONF->SetData("IPL.PGS", ev.GetInt()); - SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive = ev.GetInt(); + SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive = ev.IsChecked(); ev.Skip(); } diff --git a/Source/Core/DolphinWX/Src/WiimoteConfigDiag.h b/Source/Core/DolphinWX/Src/WiimoteConfigDiag.h index faa17dff2e..2b2e60de4a 100644 --- a/Source/Core/DolphinWX/Src/WiimoteConfigDiag.h +++ b/Source/Core/DolphinWX/Src/WiimoteConfigDiag.h @@ -61,7 +61,7 @@ public: } void OnReconnectOnLoad(wxCommandEvent& event) { - SConfig::GetInstance().m_WiimoteReconnectOnLoad = event.GetInt(); + SConfig::GetInstance().m_WiimoteReconnectOnLoad = event.IsChecked(); event.Skip(); }