summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2019-10-26 10:01:27 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2019-10-26 10:03:57 -0500
commit9d18402d078f00a7011e432b93ea5a7fce8babef (patch)
treeef107a89ea0393bf119497a6029318c84c2f1e6a /Source/Core
parentf54faedd7624d156f1b05e620ecf5aae9acbb8d5 (diff)
DolphinQt: Make HotkeyScheduler call UpdateInput when hotkeys are disabled.
Diffstat (limited to 'Source/Core')
-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();