mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Ignore hotkeys if the game has not started.
This commit is contained in:
@ -947,6 +947,9 @@ void CFrame::OnGameListCtrl_ItemActivated(wxListEvent& WXUNUSED (event))
|
|||||||
|
|
||||||
static bool IsHotkey(wxKeyEvent &event, int Id, bool keyUp = false)
|
static bool IsHotkey(wxKeyEvent &event, int Id, bool keyUp = false)
|
||||||
{
|
{
|
||||||
|
if (Core::GetState() == Core::CORE_UNINITIALIZED)
|
||||||
|
return false;
|
||||||
|
|
||||||
// Input event hotkey
|
// Input event hotkey
|
||||||
if (event.GetKeyCode() == WXK_NONE)
|
if (event.GetKeyCode() == WXK_NONE)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user