summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-12-30 04:34:32 +0100
committerbunnei <bunneidev@gmail.com>2015-12-30 04:34:32 +0100
commit8a24214b46cf86349528e9c1d79a970a5a0ad1a4 (patch)
tree7f8b3ed355becf4d26ad1ee87fd91b7d845d8d7a /src/core/core.h
parentMerge pull request #1305 from lioncash/override (diff)
parentcore: Use unique_ptr for holding the interpreter instances (diff)
downloadyuzu-8a24214b46cf86349528e9c1d79a970a5a0ad1a4.tar
yuzu-8a24214b46cf86349528e9c1d79a970a5a0ad1a4.tar.gz
yuzu-8a24214b46cf86349528e9c1d79a970a5a0ad1a4.tar.bz2
yuzu-8a24214b46cf86349528e9c1d79a970a5a0ad1a4.tar.lz
yuzu-8a24214b46cf86349528e9c1d79a970a5a0ad1a4.tar.xz
yuzu-8a24214b46cf86349528e9c1d79a970a5a0ad1a4.tar.zst
yuzu-8a24214b46cf86349528e9c1d79a970a5a0ad1a4.zip
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 491230a74..453e0a5f0 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -4,6 +4,7 @@
#pragma once
+#include <memory>
#include "common/common_types.h"
class ARM_Interface;
@@ -23,8 +24,8 @@ struct ThreadContext {
u32 fpexc;
};
-extern ARM_Interface* g_app_core; ///< ARM11 application core
-extern ARM_Interface* g_sys_core; ///< ARM11 system (OS) core
+extern std::unique_ptr<ARM_Interface> g_app_core; ///< ARM11 application core
+extern std::unique_ptr<ARM_Interface> g_sys_core; ///< ARM11 system (OS) core
////////////////////////////////////////////////////////////////////////////////////////////////////