core: fix initialization in single core, sync GPU mode

This commit is contained in:
Liam
2022-06-16 23:42:39 -04:00
parent a33e7c13fa
commit a6371fb69d
4 changed files with 13 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#include "common/scm_rev.h"
#include "common/settings.h"
#include "core/core.h"
#include "core/cpu_manager.h"
#include "core/frontend/framebuffer_layout.h"
#include "input_common/drivers/keyboard.h"
#include "input_common/drivers/mouse.h"
@ -73,6 +74,8 @@ void EmuThread::run() {
gpu.ReleaseContext();
system.GetCpuManager().OnGpuReady();
// Holds whether the cpu was running during the last iteration,
// so that the DebugModeLeft signal can be emitted before the
// next execution step