From 679d9351eadda908a3056994f26ef0db0eaecddd Mon Sep 17 00:00:00 2001 From: skidau Date: Sat, 28 Feb 2015 11:29:57 +1100 Subject: [PATCH] Fixed the Connect Wiimote hotkeys from getting activated while a GameCube game is running. --- Source/Core/DolphinWX/Frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 7e19c092fa..56a6d7402e 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -1433,7 +1433,7 @@ void CFrame::ParseHotkeys(wxKeyEvent &event) // Actually perform the Wiimote connection or disconnection if (Core::GetState() != Core::CORE_UNINITIALIZED) { - if (WiimoteId >= 0) + if (WiimoteId >= 0 && SConfig::GetInstance().m_LocalCoreStartupParameter.bWii) { wxCommandEvent evt; evt.SetId(IDM_CONNECT_WIIMOTE1 + WiimoteId);