From 9c1a936ca641af70734ce2f85aab8dfaa10bbbe9 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 15 Oct 2022 03:35:01 -0500 Subject: [PATCH] WiimoteEmu: Do send a status report on connection when an extension is already attached. --- Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp index 41513780b9..5bc19f48e8 100644 --- a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp +++ b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp @@ -190,12 +190,10 @@ void Wiimote::Reset() m_status = {}; - if (!want_determinism) - { - // This will suppress a status report on connect when an extension is already attached. - // TODO: I am not 100% sure if this is proper. - m_status.extension = m_extension_port.IsDeviceConnected(); - } + // A real wii remote does not normally send a status report on connection. + // But if an extension is already attached it does send one. + // Clearing this initially will simulate that on the first update cycle. + m_status.extension = 0; // Dynamics: m_swing_state = {};