mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Ignore hotkeys if the game has not started.
This commit is contained in:
parent
b9fb6ad3e8
commit
fc8ea9c3b3
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user