HotkeyScheduler: add PlayRecording hotkey support

This hotkey was not previously implemented in the scheduler, even though it's present in the hotkey menu.
This commit is contained in:
sowens99
2021-09-24 10:31:36 -04:00
parent 753a1595bf
commit d5845ff281
3 changed files with 8 additions and 0 deletions

View File

@ -186,7 +186,13 @@ void HotkeyScheduler::Run()
emit ExitHotkey();
if (!Core::IsRunningAndStarted())
{
// Only check for Play Recording hotkey when no game is running
if (IsHotkey(HK_PLAY_RECORDING))
emit PlayRecording();
continue;
}
// Disc