Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11168 from jordan-woyak/extension-status-report
WiimoteEmu: Minor emulated Wii Remote behavior fix.
  • Loading branch information
AdmiralCurtiss committed Oct 15, 2022
2 parents 3af74d8 + 9c1a936 commit 91ba359
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp
Expand Up @@ -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 = {};
Expand Down

0 comments on commit 91ba359

Please sign in to comment.