Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiimoteReal: Call Update() less often #4002

Merged
merged 1 commit into from Jul 12, 2016

Conversation

leoetlino
Copy link
Member

@leoetlino leoetlino commented Jul 12, 2016

This moves back the WiimoteScanner:Update() call to where it originally
was, since according to a comment it is intended to be called only when
"when not looking for more Wiimotes", and calling it too often causes
the Bluetooth module to be loaded/unloaded a lot of times.


This change is Reviewable

This moves back the WiimoteScanner:Update() call to where it originally
was, since according to a comment it is intended to be called only when
"when not looking for more Wiimotes", and calling it too often causes
the Bluetooth module to be loaded/unloaded a lot of times.
@@ -490,6 +489,10 @@ void WiimoteScanner::ThreadFunc()
TryToConnectBalanceBoard(found_board);
}
}
else
{
Update(); // Does stuff needed to detect disconnects on Windows

This comment was marked as off-topic.

This comment was marked as off-topic.

@delroth delroth merged commit 12d650b into dolphin-emu:master Jul 12, 2016
@leoetlino leoetlino deleted the wiimote-windows branch July 12, 2016 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants