diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-06 00:35:56 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-06 00:41:00 -0600 |
| commit | af6a5ddafe69a7ba36080cc164318f56a2ebc7f6 (patch) | |
| tree | ce9e35fee356bb1679777e3e89e2e52cccf3e467 /Source/Core/InputCommon/GCAdapter.cpp | |
| parent | 1dcc199a63bf8bd72a76b14352263ab6768e21ba (diff) | |
Fixup typo in GCAdapter
Diffstat (limited to 'Source/Core/InputCommon/GCAdapter.cpp')
| -rw-r--r-- | Source/Core/InputCommon/GCAdapter.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/Core/InputCommon/GCAdapter.cpp b/Source/Core/InputCommon/GCAdapter.cpp index d357952f4f..c3aea3dc4f 100644 --- a/Source/Core/InputCommon/GCAdapter.cpp +++ b/Source/Core/InputCommon/GCAdapter.cpp @@ -356,11 +356,7 @@ void Reset() void Input(int chan, GCPadStatus* pad) { - bool use_adapter = SConfig::GetInstance().m_SIDevice[0] == SIDEVICE_WIIU_ADAPTER || - SConfig::GetInstance().m_SIDevice[1] == SIDEVICE_WIIU_ADAPTER || - SConfig::GetInstance().m_SIDevice[2] == SIDEVICE_WIIU_ADAPTER || - SConfig::GetInstance().m_SIDevice[3] == SIDEVICE_WIIU_ADAPTER; - if (!use_adapter) + if (!UseAdapter()) return; if (s_handle == nullptr || !s_detected) @@ -459,7 +455,7 @@ void ResetRumble() void Output(int chan, u8 rumble_command) { - if (s_handle == nullptr || !UseAdapter() || !SConfig::GetInstance().m_AdapterRumble) + if (s_handle == nullptr || !UseAdapter() || !SConfig::GetInstance().m_AdapterRumble[chan]) return; // Skip over rumble commands if it has not changed or the controller is wireless |
