mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 07:12:59 +00:00
core: Remove unnecessary assert in ArmInterface()
CpuCore already does this sort of checking, so we can just call that instead of duplicating the assertions.
This commit is contained in:
parent
d4ff4152ad
commit
f109615be0
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue