diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2019-03-29 06:15:58 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2019-03-29 06:15:58 -0500 |
| commit | a015851b02a94a9c064cf47475302e180b51905c (patch) | |
| tree | f4cf30a4d3e2fb9cfb6ff9b3edeacb6fb4ef30cf /Source/Core/InputCommon/GCAdapter_Android.cpp | |
| parent | 9b6c9252e4dafe91918d91cdabc0c6e27ff9136f (diff) | |
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; |
