summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinQt/HotkeyScheduler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/HotkeyScheduler.cpp b/Source/Core/DolphinQt/HotkeyScheduler.cpp
index 14949fd3f8..b2f5c86d98 100644
--- a/Source/Core/DolphinQt/HotkeyScheduler.cpp
+++ b/Source/Core/DolphinQt/HotkeyScheduler.cpp
@@ -134,12 +134,12 @@ void HotkeyScheduler::Run()
{
Common::SleepCurrentThread(1000 / 60);
- if (!HotkeyManagerEmu::IsEnabled())
- continue;
-
if (Core::GetState() == Core::State::Uninitialized || Core::GetState() == Core::State::Paused)
g_controller_interface.UpdateInput();
+ if (!HotkeyManagerEmu::IsEnabled())
+ continue;
+
if (Core::GetState() != Core::State::Stopping)
{
HotkeyManagerEmu::GetStatus();