Merge pull request #12360 from TryTwo/bugfix_wiimote_signal_spam

WiimoteDevice. Bugfix. Remove signal spam while starting a game.
This commit is contained in:
Mai 2023-12-08 21:07:51 -05:00 committed by GitHub
commit 636b892b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
// Update wiimote connection checkboxes in UI.
Host_UpdateDisasmDialog();
if (IsConnected() != was_connected)
Host_UpdateDisasmDialog();
if (!IsSourceValid())
return;