diff options
author | bunnei <bunneidev@gmail.com> | 2018-10-19 03:46:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-19 03:46:19 +0200 |
commit | 0291a86f6043d8e4be9aea9991a92b2310cab354 (patch) | |
tree | c530734f56db9daa0fc0b9d59307f92b21805c09 | |
parent | Merge pull request #1510 from lioncash/xci (diff) | |
parent | core: Remove unnecessary assert in ArmInterface() (diff) | |
download | yuzu-0291a86f6043d8e4be9aea9991a92b2310cab354.tar yuzu-0291a86f6043d8e4be9aea9991a92b2310cab354.tar.gz yuzu-0291a86f6043d8e4be9aea9991a92b2310cab354.tar.bz2 yuzu-0291a86f6043d8e4be9aea9991a92b2310cab354.tar.lz yuzu-0291a86f6043d8e4be9aea9991a92b2310cab354.tar.xz yuzu-0291a86f6043d8e4be9aea9991a92b2310cab354.tar.zst yuzu-0291a86f6043d8e4be9aea9991a92b2310cab354.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 3c57a62ec..7cb86ed92 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) { |