From fc8ea9c3b3e31e0882fb660a376dc795f7080de6 Mon Sep 17 00:00:00 2001 From: skidau Date: Wed, 4 Feb 2015 18:06:20 +1100 Subject: [PATCH] Ignore hotkeys if the game has not started. --- Source/Core/DolphinWX/Frame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index e65747cc07..dc6aa79ac1 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -947,6 +947,9 @@ void CFrame::OnGameListCtrl_ItemActivated(wxListEvent& WXUNUSED (event)) static bool IsHotkey(wxKeyEvent &event, int Id, bool keyUp = false) { + if (Core::GetState() == Core::CORE_UNINITIALIZED) + return false; + // Input event hotkey if (event.GetKeyCode() == WXK_NONE) {