summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-19 00:15:16 +0200
committerLioncash <mathew1800@gmail.com>2018-07-19 00:18:27 +0200
commit10d2ab80989e1362fe9cc206e0708d7aeeda5d3a (patch)
treee3f4f9ea584b2637c7f3ccccaef5df2e4df3bfa7 /src
parentcore: Don't construct instance of Core::System, just to access its live instance (diff)
downloadyuzu-10d2ab80989e1362fe9cc206e0708d7aeeda5d3a.tar
yuzu-10d2ab80989e1362fe9cc206e0708d7aeeda5d3a.tar.gz
yuzu-10d2ab80989e1362fe9cc206e0708d7aeeda5d3a.tar.bz2
yuzu-10d2ab80989e1362fe9cc206e0708d7aeeda5d3a.tar.lz
yuzu-10d2ab80989e1362fe9cc206e0708d7aeeda5d3a.tar.xz
yuzu-10d2ab80989e1362fe9cc206e0708d7aeeda5d3a.tar.zst
yuzu-10d2ab80989e1362fe9cc206e0708d7aeeda5d3a.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/core.cpp2
-rw-r--r--src/core/core.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 7936c5b56..ae3849a36 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -25,6 +25,8 @@ namespace Core {
/*static*/ System System::s_instance;
+System::System() = default;
+
System::~System() = default;
/// Runs a CPU core while the system is powered on
diff --git a/src/core/core.h b/src/core/core.h
index f90f085ad..c6f69f001 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -168,6 +168,8 @@ public:
}
private:
+ System();
+
/// Returns the currently running CPU core
Cpu& CurrentCpuCore();