DolphinQt: Make HotkeyScheduler call UpdateInput when hotkeys are disabled.

This commit is contained in:
Jordan Woyak 2019-10-26 10:01:27 -05:00
parent f54faedd76
commit 9d18402d07
1 changed files with 3 additions and 3 deletions

View File

@ -134,12 +134,12 @@ void HotkeyScheduler::Run()
{ {
Common::SleepCurrentThread(1000 / 60); Common::SleepCurrentThread(1000 / 60);
if (!HotkeyManagerEmu::IsEnabled())
continue;
if (Core::GetState() == Core::State::Uninitialized || Core::GetState() == Core::State::Paused) if (Core::GetState() == Core::State::Uninitialized || Core::GetState() == Core::State::Paused)
g_controller_interface.UpdateInput(); g_controller_interface.UpdateInput();
if (!HotkeyManagerEmu::IsEnabled())
continue;
if (Core::GetState() != Core::State::Stopping) if (Core::GetState() != Core::State::Stopping)
{ {
HotkeyManagerEmu::GetStatus(); HotkeyManagerEmu::GetStatus();