summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-07-18 18:55:58 -0700
committerGravatar GitHub2018-07-18 18:55:58 -0700
commit49b0966003caeaafe2f5455d06b16175f02686fb (patch)
tree141c8d3c09f9eca021dddedb17cdc3cc6607a19a /src/core/core.h
parentMerge pull request #680 from bunnei/fix-swizz (diff)
parentcore: Make System's default constructor private (diff)
downloadyuzu-49b0966003caeaafe2f5455d06b16175f02686fb.tar.gz
yuzu-49b0966003caeaafe2f5455d06b16175f02686fb.tar.xz
yuzu-49b0966003caeaafe2f5455d06b16175f02686fb.zip
Merge pull request #687 from lioncash/instance
core: Don't construct instance of Core::System, just to access its live instance
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h2
1 files changed, 2 insertions, 0 deletions
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:
168 } 168 }
169 169
170private: 170private:
171 System();
172
171 /// Returns the currently running CPU core 173 /// Returns the currently running CPU core
172 Cpu& CurrentCpuCore(); 174 Cpu& CurrentCpuCore();
173 175