VERY experimental Nintendo Switch 2 emulator
C++
core: Make System's default constructor private
Lioncash74185c108eee
diff --git a/src/core/core.cpp b/src/core/core.cppindex 7936c5b568..ae3849a365 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 ondiff --git a/src/core/core.h b/src/core/core.hindex f90f085ad1..c6f69f001d 100644--- a/src/core/core.h+++ b/src/core/core.h@@ -168,6 +168,8 @@ public:}private:+ System();+/// Returns the currently running CPU coreCpu& CurrentCpuCore();