summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-02-18 14:52:09 -0500
committerGravatar bunnei2018-02-18 14:52:09 -0500
commit2d4a6883bcfa785e990c5dbf3fab9eb73a0ed277 (patch)
treef5d63b13728e8b235e8620a015d3f48e34a0904d /src/core/core.h
parentkernel: Remove unused address_arbiter code. (diff)
downloadyuzu-2d4a6883bcfa785e990c5dbf3fab9eb73a0ed277.tar.gz
yuzu-2d4a6883bcfa785e990c5dbf3fab9eb73a0ed277.tar.xz
yuzu-2d4a6883bcfa785e990c5dbf3fab9eb73a0ed277.zip
core: Use shared_ptr for cpu_core.
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/core.h b/src/core/core.h
index f63cc47cc..e7599e18c 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -140,9 +140,7 @@ private:
140 /// AppLoader used to load the current executing application 140 /// AppLoader used to load the current executing application
141 std::unique_ptr<Loader::AppLoader> app_loader; 141 std::unique_ptr<Loader::AppLoader> app_loader;
142 142
143 ///< ARM11 CPU core 143 std::shared_ptr<ARM_Interface> cpu_core;
144 std::unique_ptr<ARM_Interface> cpu_core;
145
146 std::unique_ptr<Tegra::GPU> gpu_core; 144 std::unique_ptr<Tegra::GPU> gpu_core;
147 145
148 /// When true, signals that a reschedule should happen 146 /// When true, signals that a reschedule should happen