Merge pull request #8432 from jordan-woyak/hotkey-indicator-fix

DolphinQt: Make HotkeyScheduler call UpdateInput when hotkeys are disabled.
This commit is contained in:
Scott Mansell 2019-11-07 10:05:54 +13:00 committed by GitHub
commit 93d7b3d159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();