summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-03 06:34:54 +0200
committerbunnei <bunneidev@gmail.com>2018-05-11 01:34:47 +0200
commit9bf2a428f9e9359763be1bfd90c32371044c711e (patch)
tree89188fea0b3457421fe203cc7a2754523d0acf04 /src/core/core.h
parentcore: Support session close with multicore. (diff)
downloadyuzu-9bf2a428f9e9359763be1bfd90c32371044c711e.tar
yuzu-9bf2a428f9e9359763be1bfd90c32371044c711e.tar.gz
yuzu-9bf2a428f9e9359763be1bfd90c32371044c711e.tar.bz2
yuzu-9bf2a428f9e9359763be1bfd90c32371044c711e.tar.lz
yuzu-9bf2a428f9e9359763be1bfd90c32371044c711e.tar.xz
yuzu-9bf2a428f9e9359763be1bfd90c32371044c711e.tar.zst
yuzu-9bf2a428f9e9359763be1bfd90c32371044c711e.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 561e7b48f..115061932 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -112,10 +112,7 @@ public:
return CurrentCpuCore().ArmInterface();
}
- ARM_Interface& ArmInterface(size_t core_index) {
- ASSERT(core_index < NUM_CPU_CORES);
- return cpu_cores[core_index]->ArmInterface();
- }
+ ARM_Interface& ArmInterface(size_t core_index);
Tegra::GPU& GPU() {
return *gpu_core;
@@ -125,10 +122,7 @@ public:
return *CurrentCpuCore().Scheduler();
}
- const std::shared_ptr<Kernel::Scheduler>& Scheduler(size_t core_index) {
- ASSERT(core_index < NUM_CPU_CORES);
- return cpu_cores[core_index]->Scheduler();
- }
+ const std::shared_ptr<Kernel::Scheduler>& Scheduler(size_t core_index);
Kernel::SharedPtr<Kernel::Process>& CurrentProcess() {
return current_process;