mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-03 06:38:53 +00:00
DolphinWX: In Host_ConnectWiimote(), instead of calling CFrame::ConnectWiimote() directly, dispatch an event that will call it for us in the GUI thread.
This eliminates a possible stutter/short freeze that can happen during PowerPC::Pause().
This commit is contained in:
parent
5594b107eb
commit
935292c6fc
3 changed files with 38 additions and 1 deletions
|
@ -298,6 +298,18 @@ enum
|
|||
IDM_HOST_MESSAGE,
|
||||
IDM_FULLSCREEN_REQUEST,
|
||||
|
||||
// Used for Host_ConnectWiimote()
|
||||
IDM_FORCE_CONNECT_WIIMOTE1,
|
||||
IDM_FORCE_CONNECT_WIIMOTE2,
|
||||
IDM_FORCE_CONNECT_WIIMOTE3,
|
||||
IDM_FORCE_CONNECT_WIIMOTE4,
|
||||
IDM_FORCE_CONNECT_BALANCEBOARD,
|
||||
IDM_FORCE_DISCONNECT_WIIMOTE1,
|
||||
IDM_FORCE_DISCONNECT_WIIMOTE2,
|
||||
IDM_FORCE_DISCONNECT_WIIMOTE3,
|
||||
IDM_FORCE_DISCONNECT_WIIMOTE4,
|
||||
IDM_FORCE_DISCONNECT_BALANCEBOARD,
|
||||
|
||||
IDM_MPANEL, ID_STATUSBAR,
|
||||
|
||||
IDM_FREELOOK_DECREASE_SPEED,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue