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

This commit is contained in:
bunnei committed 2021-12-06 16:39:16 -08:00
1 parent ddbbf77651
commit cae0bef7ec
7 files changed
+17 -14

No files matched your search

-6
View File
@@ -521,12 +521,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();
}