core: Use shared_ptr for cpu_core.

This commit is contained in:
bunnei
2018-02-18 14:52:09 -05:00
parent cec0d4f191
commit 2d4a6883bc
2 changed files with 4 additions and 6 deletions

View File

@ -140,9 +140,7 @@ private:
/// AppLoader used to load the current executing application
std::unique_ptr<Loader::AppLoader> app_loader;
///< ARM11 CPU core
std::unique_ptr<ARM_Interface> cpu_core;
std::shared_ptr<ARM_Interface> cpu_core;
std::unique_ptr<Tegra::GPU> gpu_core;
/// When true, signals that a reschedule should happen