summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2014-08-19 20:19:12 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2014-08-19 22:33:48 -0700
commitd9fcc855a7ccf75b20032836af92db89cca93dcc (patch)
tree939f955ca84f9cb90704a2703679991b7b5b02b4 /Source/Core/InputCommon
parent5471c71819b40595a23d81a2e5fa605a4d5c2c0d (diff)
msvc: resolve all warnings in DolphinWX.
Also, bring WiiSaveCrypted closer to modern dolphin coding style.
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/ControllerEmu.h2
1 files changed, 1 insertions, 1 deletions
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