mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
Fixed the Connect Wiimote hotkeys from getting activated while a GameCube game is running.
This commit is contained in:
parent
cc6b55ee2a
commit
679d9351ea
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user