summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-18 18:07:21 +0200
committerLioncash <mathew1800@gmail.com>2018-10-18 18:07:25 +0200
commitf109615be05ae7db05917a68012c6398173399b5 (patch)
treec530734f56db9daa0fc0b9d59307f92b21805c09
parentMerge pull request #1510 from lioncash/xci (diff)
downloadyuzu-f109615be05ae7db05917a68012c6398173399b5.tar
yuzu-f109615be05ae7db05917a68012c6398173399b5.tar.gz
yuzu-f109615be05ae7db05917a68012c6398173399b5.tar.bz2
yuzu-f109615be05ae7db05917a68012c6398173399b5.tar.lz
yuzu-f109615be05ae7db05917a68012c6398173399b5.tar.xz
yuzu-f109615be05ae7db05917a68012c6398173399b5.tar.zst
yuzu-f109615be05ae7db05917a68012c6398173399b5.zip
-rw-r--r--src/core/core.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 3c57a62ec..7cb86ed92 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -375,8 +375,7 @@ const Kernel::Process* System::CurrentProcess() const {
}
ARM_Interface& System::ArmInterface(std::size_t core_index) {
- ASSERT(core_index < NUM_CPU_CORES);
- return impl->cpu_cores[core_index]->ArmInterface();
+ return CpuCore(core_index).ArmInterface();
}
Cpu& System::CpuCore(std::size_t core_index) {