Fixed the Connect Wiimote hotkeys from getting activated while a GameCube game is running.

This commit is contained in:
skidau 2015-02-28 11:29:57 +11:00
parent cc6b55ee2a
commit 679d9351ea
1 changed files with 1 additions and 1 deletions

View File

@ -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);