DolphinQt: Make HotkeyScheduler call UpdateInput when hotkeys are disabled.
This commit is contained in:
parent
f54faedd76
commit
9d18402d07
|
@ -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…
Reference in New Issue