If you're Wiimotes input was a real Wiimote and you decided to play a Gamecube Game, then you'd eventually get the message "Wiimote has been disconnected", and it would harshly mess up your game play. Fixed it so that message only appears during Wii game play. Should we checked if Wiimote was ever connected for that gaming session?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4925 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
68a4eacb62
commit
267fd392d7
|
@ -161,6 +161,7 @@ CPanel::CPanel(
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case WIIMOTE_DISCONNECT:
|
case WIIMOTE_DISCONNECT:
|
||||||
|
if( SConfig::GetInstance().m_LocalCoreStartupParameter.bWii ){ //Only Alerts if the game is a wii game.
|
||||||
if (main_frame->bNoWiimoteMsg)
|
if (main_frame->bNoWiimoteMsg)
|
||||||
main_frame->bNoWiimoteMsg = false;
|
main_frame->bNoWiimoteMsg = false;
|
||||||
else
|
else
|
||||||
|
@ -181,6 +182,7 @@ CPanel::CPanel(
|
||||||
|
|
||||||
dlg->Destroy();
|
dlg->Destroy();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue