diff options
| author | JMC47 <JMC4789@gmail.com> | 2019-03-30 06:37:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-30 06:37:23 -0400 |
| commit | 0bce1c509de46e3be3eeef732f264f1b17e3e333 (patch) | |
| tree | f23df6061a04a8fb9957b0bdfde9c0d872e030be /Source/Core/InputCommon/GCAdapter_Android.cpp | |
| parent | 5a10707a37ba6828aec97a646fc22ed0bd0be0c3 (diff) | |
| parent | a015851b02a94a9c064cf47475302e180b51905c (diff) | |
Merge pull request #7942 from jordan-woyak/gc-adapter-calib-fix
HW/SI: GCAdapter calibration fix.
Diffstat (limited to 'Source/Core/InputCommon/GCAdapter_Android.cpp')
| -rw-r--r-- | Source/Core/InputCommon/GCAdapter_Android.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/GCAdapter_Android.cpp b/Source/Core/InputCommon/GCAdapter_Android.cpp index d71e665015..9c6092dc78 100644 --- a/Source/Core/InputCommon/GCAdapter_Android.cpp +++ b/Source/Core/InputCommon/GCAdapter_Android.cpp @@ -382,6 +382,11 @@ bool DeviceConnected(int chan) return s_controller_type[chan] != ControllerTypes::CONTROLLER_NONE; } +void ResetDeviceType(int chan) +{ + s_controller_type[chan] = ControllerTypes::CONTROLLER_NONE; +} + bool UseAdapter() { const auto& si_devices = SConfig::GetInstance().m_SIDevice; |
