summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 82db5cccf..9bd9f4bd9 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -26,11 +26,13 @@ namespace Core {
26 26
27/*static*/ System System::s_instance; 27/*static*/ System System::s_instance;
28 28
29System::System() = default;
30
29System::~System() = default; 31System::~System() = default;
30 32
31/// Runs a CPU core while the system is powered on 33/// Runs a CPU core while the system is powered on
32static void RunCpuCore(std::shared_ptr<Cpu> cpu_state) { 34static void RunCpuCore(std::shared_ptr<Cpu> cpu_state) {
33 while (Core::System().GetInstance().IsPoweredOn()) { 35 while (Core::System::GetInstance().IsPoweredOn()) {
34 cpu_state->RunLoop(true); 36 cpu_state->RunLoop(true);
35 } 37 }
36} 38}