2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #1522 from lioncash/core

core: Remove unnecessary assert in ArmInterface()
This commit is contained in:
bunnei 2018-10-18 21:46:19 -04:00 committed by GitHub
commit 0291a86f60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -375,8 +375,7 @@ const Kernel::Process* System::CurrentProcess() const {
} }
ARM_Interface& System::ArmInterface(std::size_t core_index) { ARM_Interface& System::ArmInterface(std::size_t core_index) {
ASSERT(core_index < NUM_CPU_CORES); return CpuCore(core_index).ArmInterface();
return impl->cpu_cores[core_index]->ArmInterface();
} }
Cpu& System::CpuCore(std::size_t core_index) { Cpu& System::CpuCore(std::size_t core_index) {