From cee8df6ff018ea6a851f012fa1c0eea758c758b0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 29 Dec 2015 18:03:08 -0500 Subject: core: Use unique_ptr for holding the interpreter instances --- src/core/core.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/core/core.h') 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 #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 g_app_core; ///< ARM11 application core +extern std::unique_ptr g_sys_core; ///< ARM11 system (OS) core //////////////////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3