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:
parent
131ca83add
commit
4f1a5e0b3a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue