VERY experimental Nintendo Switch 2 emulator
C++
core: Remove unnecessary assert in ArmInterface()
Lioncash3813aafaafa1
diff --git a/src/core/core.cpp b/src/core/core.cppindex 3c57a62ec9..7cb86ed922 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) {