DolphinQt: trigger frame advance from hotkeys on the host thread (the underlying SetState is only valid on the host thread)

This commit is contained in:
iwubcode 2024-05-18 11:54:12 -05:00
parent 131ca83add
commit 4f1a5e0b3a
1 changed files with 1 additions and 1 deletions

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;
}