summaryrefslogtreecommitdiffstats
path: root/src/core/core_cpu.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-25 22:00:14 +0200
committerLioncash <mathew1800@gmail.com>2018-09-25 22:00:17 +0200
commita58eefa7e42f156e4a9efead04c6d814286c2f10 (patch)
tree36cee4834cb7c187a3a136b82d3ed0687b086185 /src/core/core_cpu.cpp
parentMerge pull request #1378 from lioncash/thread (diff)
downloadyuzu-a58eefa7e42f156e4a9efead04c6d814286c2f10.tar
yuzu-a58eefa7e42f156e4a9efead04c6d814286c2f10.tar.gz
yuzu-a58eefa7e42f156e4a9efead04c6d814286c2f10.tar.bz2
yuzu-a58eefa7e42f156e4a9efead04c6d814286c2f10.tar.lz
yuzu-a58eefa7e42f156e4a9efead04c6d814286c2f10.tar.xz
yuzu-a58eefa7e42f156e4a9efead04c6d814286c2f10.tar.zst
yuzu-a58eefa7e42f156e4a9efead04c6d814286c2f10.zip
Diffstat (limited to 'src/core/core_cpu.cpp')
-rw-r--r--src/core/core_cpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp
index 21568ad50..0140e9713 100644
--- a/src/core/core_cpu.cpp
+++ b/src/core/core_cpu.cpp
@@ -64,7 +64,7 @@ Cpu::Cpu(std::shared_ptr<ExclusiveMonitor> exclusive_monitor,
arm_interface = std::make_shared<ARM_Unicorn>();
}
- scheduler = std::make_shared<Kernel::Scheduler>(arm_interface.get());
+ scheduler = std::make_shared<Kernel::Scheduler>(*arm_interface);
}
Cpu::~Cpu() = default;