From d9fcc855a7ccf75b20032836af92db89cca93dcc Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 19 Aug 2014 20:19:12 -0700 Subject: msvc: resolve all warnings in DolphinWX. Also, bring WiiSaveCrypted closer to modern dolphin coding style. --- Source/Core/InputCommon/ControllerEmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon') diff --git a/Source/Core/InputCommon/ControllerEmu.h b/Source/Core/InputCommon/ControllerEmu.h index bc3974936f..f2c20d9bc9 100644 --- a/Source/Core/InputCommon/ControllerEmu.h +++ b/Source/Core/InputCommon/ControllerEmu.h @@ -125,7 +125,7 @@ public: void SetValue(ControlState new_value) override { - SConfig::GetInstance().m_BackgroundInput = new_value; + SConfig::GetInstance().m_BackgroundInput = !!new_value; } ControlState GetValue() override -- cgit v1.2.3