mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00: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:
parent
131ca83add
commit
4f1a5e0b3a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue