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

@ -877,7 +877,7 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, Handle
const u64 thread_ticks = current_thread->GetCpuTime();
out_ticks = thread_ticks + (core_timing.GetCPUTicks() - prev_ctx_ticks);
} else if (same_thread && info_sub_id == system.CurrentCoreIndex()) {
} else if (same_thread && info_sub_id == system.Kernel().CurrentPhysicalCoreIndex()) {
out_ticks = core_timing.GetCPUTicks() - prev_ctx_ticks;
}