summaryrefslogtreecommitdiffstats
path: root/src/core/arm/dyncom/arm_dyncom.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-04-28 04:44:05 +0200
committerbunnei <bunneidev@gmail.com>2015-05-02 00:27:04 +0200
commitbab5abaf461f8032e042bb30997a62699e4ff483 (patch)
tree612b628154c52b0105f77da15ad93110543901c7 /src/core/arm/dyncom/arm_dyncom.cpp
parentKernel: Properly initialize and shutdown all modules. (diff)
downloadyuzu-bab5abaf461f8032e042bb30997a62699e4ff483.tar
yuzu-bab5abaf461f8032e042bb30997a62699e4ff483.tar.gz
yuzu-bab5abaf461f8032e042bb30997a62699e4ff483.tar.bz2
yuzu-bab5abaf461f8032e042bb30997a62699e4ff483.tar.lz
yuzu-bab5abaf461f8032e042bb30997a62699e4ff483.tar.xz
yuzu-bab5abaf461f8032e042bb30997a62699e4ff483.tar.zst
yuzu-bab5abaf461f8032e042bb30997a62699e4ff483.zip
Diffstat (limited to 'src/core/arm/dyncom/arm_dyncom.cpp')
-rw-r--r--src/core/arm/dyncom/arm_dyncom.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom.cpp b/src/core/arm/dyncom/arm_dyncom.cpp
index bc1e969e4..128413262 100644
--- a/src/core/arm/dyncom/arm_dyncom.cpp
+++ b/src/core/arm/dyncom/arm_dyncom.cpp
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include "common/make_unique.h"
+
#include "core/arm/skyeye_common/armemu.h"
#include "core/arm/skyeye_common/vfp/vfp.h"
@@ -17,7 +19,7 @@ const static cpu_config_t s_arm11_cpu_info = {
};
ARM_DynCom::ARM_DynCom(PrivilegeMode initial_mode) {
- state = std::unique_ptr<ARMul_State>(new ARMul_State);
+ state = Common::make_unique<ARMul_State>();
ARMul_NewState(state.get());
ARMul_SelectProcessor(state.get(), ARM_v6_Prop | ARM_v5_Prop | ARM_v5e_Prop);