mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Merge pull request #4032 from EmptyChaos/blockingloop
Fifo: EmulatorState should call AllowSleep instead of Wakeup when pausing (Issue 9692)
This commit is contained in:
commit
fb72360283
1 changed files with 4 additions and 1 deletions
|
@ -154,7 +154,10 @@ void ExitGpuLoop()
|
|||
void EmulatorState(bool running)
|
||||
{
|
||||
s_emu_running_state.store(running);
|
||||
s_gpu_mainloop.Wakeup();
|
||||
if (running)
|
||||
s_gpu_mainloop.Wakeup();
|
||||
else
|
||||
s_gpu_mainloop.AllowSleep();
|
||||
}
|
||||
|
||||
void SyncGPU(SyncGPUReason reason, bool may_move_read_ptr)
|
||||
|
|
Loading…
Add table
Reference in a new issue