mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Fixed the Connect Wiimote hotkeys from getting activated while a GameCube game is running.
This commit is contained in:
parent
cc6b55ee2a
commit
679d9351ea
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue