mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 15:22:45 +01:00
Merge pull request #1522 from lioncash/core
core: Remove unnecessary assert in ArmInterface()
This commit is contained in:
commit
0291a86f60
1 changed files with 1 additions and 2 deletions
|
@ -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