WiimoteDevice. bugfix. Remove signal spam while starting a game.

Emulation state changed signals also update the wiimote connection. The signal here is only needed for wiimote connects/disconnects.

Can fix erroneous debugger behavior during booting, as dolphin will sometimes incorrectly report the state as paused, which leads the debugger widgets to run when they shouldn't.
This commit is contained in:
TryTwo 2023-12-07 11:54:50 -07:00
parent 2ece642cf8
commit 6bd9488e0a
1 changed files with 2 additions and 1 deletions

View File

@ -145,7 +145,8 @@ void WiimoteDevice::SetBasebandState(BasebandState new_state)
m_baseband_state = new_state; m_baseband_state = new_state;
// Update wiimote connection checkboxes in UI. // Update wiimote connection checkboxes in UI.
Host_UpdateDisasmDialog(); if (IsConnected() != was_connected)
Host_UpdateDisasmDialog();
if (!IsSourceValid()) if (!IsSourceValid())
return; return;