summaryrefslogtreecommitdiff
path: root/src/citra_qt/bootmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/bootmanager.cpp')
-rw-r--r--src/citra_qt/bootmanager.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp
index c7eb2aafc..bb75633b6 100644
--- a/src/citra_qt/bootmanager.cpp
+++ b/src/citra_qt/bootmanager.cpp
@@ -14,8 +14,6 @@
14#include "common/scm_rev.h" 14#include "common/scm_rev.h"
15#include "common/string_util.h" 15#include "common/string_util.h"
16#include "core/core.h" 16#include "core/core.h"
17#include "core/settings.h"
18#include "core/system.h"
19#include "video_core/debug_utils/debug_utils.h" 17#include "video_core/debug_utils/debug_utils.h"
20#include "video_core/video_core.h" 18#include "video_core/video_core.h"
21 19
@@ -38,7 +36,7 @@ void EmuThread::run() {
38 if (!was_active) 36 if (!was_active)
39 emit DebugModeLeft(); 37 emit DebugModeLeft();
40 38
41 Core::RunLoop(); 39 Core::System::GetInstance().RunLoop();
42 40
43 was_active = running || exec_step; 41 was_active = running || exec_step;
44 if (!was_active && !stop_run) 42 if (!was_active && !stop_run)
@@ -48,7 +46,7 @@ void EmuThread::run() {
48 emit DebugModeLeft(); 46 emit DebugModeLeft();
49 47
50 exec_step = false; 48 exec_step = false;
51 Core::SingleStep(); 49 Core::System::GetInstance().SingleStep();
52 emit DebugModeEntered(); 50 emit DebugModeEntered();
53 yieldCurrentThread(); 51 yieldCurrentThread();
54 52
@@ -60,7 +58,7 @@ void EmuThread::run() {
60 } 58 }
61 59
62 // Shutdown the core emulation 60 // Shutdown the core emulation
63 System::Shutdown(); 61 Core::System::GetInstance().Shutdown();
64 62
65#if MICROPROFILE_ENABLED 63#if MICROPROFILE_ENABLED
66 MicroProfileOnThreadExit(); 64 MicroProfileOnThreadExit();