From a015851b02a94a9c064cf47475302e180b51905c Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Fri, 29 Mar 2019 06:15:58 -0500 Subject: HW/SI: GCAdapter calibration fix. --- Source/Core/InputCommon/GCAdapter_Android.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/InputCommon/GCAdapter_Android.cpp') 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; -- cgit v1.2.3