diff options
author | bunnei <bunneidev@gmail.com> | 2018-05-03 06:34:54 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-05-11 01:34:47 +0200 |
commit | 9bf2a428f9e9359763be1bfd90c32371044c711e (patch) | |
tree | 89188fea0b3457421fe203cc7a2754523d0acf04 /src/core/core.h | |
parent | core: Support session close with multicore. (diff) | |
download | yuzu-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.h | 10 |
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; |