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.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/InputCommon/GCAdapter.cpp') diff --git a/Source/Core/InputCommon/GCAdapter.cpp b/Source/Core/InputCommon/GCAdapter.cpp index f6b55a7fac..196f693b07 100644 --- a/Source/Core/InputCommon/GCAdapter.cpp +++ b/Source/Core/InputCommon/GCAdapter.cpp @@ -485,6 +485,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