mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Fixed the Connect Wiimote hotkeys from getting activated while a GameCube game is running.
This commit is contained in:
@ -1433,7 +1433,7 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
|
|||||||
// Actually perform the Wiimote connection or disconnection
|
// Actually perform the Wiimote connection or disconnection
|
||||||
if (Core::GetState() != Core::CORE_UNINITIALIZED)
|
if (Core::GetState() != Core::CORE_UNINITIALIZED)
|
||||||
{
|
{
|
||||||
if (WiimoteId >= 0)
|
if (WiimoteId >= 0 && SConfig::GetInstance().m_LocalCoreStartupParameter.bWii)
|
||||||
{
|
{
|
||||||
wxCommandEvent evt;
|
wxCommandEvent evt;
|
||||||
evt.SetId(IDM_CONNECT_WIIMOTE1 + WiimoteId);
|
evt.SetId(IDM_CONNECT_WIIMOTE1 + WiimoteId);
|
||||||
|
Reference in New Issue
Block a user