mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 00:05:34 +01:00
Merge pull request #8432 from jordan-woyak/hotkey-indicator-fix
DolphinQt: Make HotkeyScheduler call UpdateInput when hotkeys are disabled.
This commit is contained in:
commit
93d7b3d159
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user