mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Ignore hotkeys if the game has not started.
This commit is contained in:
parent
b9fb6ad3e8
commit
fc8ea9c3b3
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue