mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
WiimoteEmu: Do send a status report on connection when an extension is already attached.
This commit is contained in:
parent
3af74d82a0
commit
9c1a936ca6
@ -190,12 +190,10 @@ void Wiimote::Reset()
|
|||||||
|
|
||||||
m_status = {};
|
m_status = {};
|
||||||
|
|
||||||
if (!want_determinism)
|
// A real wii remote does not normally send a status report on connection.
|
||||||
{
|
// But if an extension is already attached it does send one.
|
||||||
// This will suppress a status report on connect when an extension is already attached.
|
// Clearing this initially will simulate that on the first update cycle.
|
||||||
// TODO: I am not 100% sure if this is proper.
|
m_status.extension = 0;
|
||||||
m_status.extension = m_extension_port.IsDeviceConnected();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Dynamics:
|
// Dynamics:
|
||||||
m_swing_state = {};
|
m_swing_state = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user