Browse Source
Merge pull request #1522 from lioncash/core
core: Remove unnecessary assert in ArmInterface()
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
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) { |
|
|
|
|