Merge pull request #12788 from iwubcode/hotkey_frame_advance_host_thread

DolphinQt: trigger frame advance from hotkeys on the host thread
This commit is contained in:
Admiral H. Curtiss 2024-05-21 21:52:05 +02:00 committed by GitHub
commit b9a2c18cb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,7 +113,7 @@ static void HandleFrameStepHotkeys()
if ((frame_step_count == 0 || frame_step_count == FRAME_STEP_DELAY) && !frame_step_hold)
{
Core::DoFrameStep(Core::System::GetInstance());
Core::QueueHostJob([](auto& system) { Core::DoFrameStep(system); });
frame_step_hold = true;
}