core: hle: kernel: Reflect non-emulated threads as core 3.

This commit is contained in:
bunnei 2021-08-06 22:45:18 -07:00
parent 5ea0d3629a
commit 68eee94875
7 changed files with 15 additions and 13 deletions

View file

@ -494,12 +494,6 @@ const ARM_Interface& System::CurrentArmInterface() const {
return impl->kernel.CurrentPhysicalCore().ArmInterface();
}
std::size_t System::CurrentCoreIndex() const {
std::size_t core = impl->kernel.GetCurrentHostThreadID();
ASSERT(core < Core::Hardware::NUM_CPU_CORES);
return core;
}
Kernel::PhysicalCore& System::CurrentPhysicalCore() {
return impl->kernel.CurrentPhysicalCore();
}