mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
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:
@ -113,7 +113,7 @@ static void HandleFrameStepHotkeys()
|
|||||||
|
|
||||||
if ((frame_step_count == 0 || frame_step_count == FRAME_STEP_DELAY) && !frame_step_hold)
|
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;
|
frame_step_hold = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user