kern: finish SvcGetInfo

This commit is contained in:
Michael Scire authored and SciresM committed 2020-07-31 14:50:52 -07:00
1 parent fd9b986938
commit 695b82b945
4 files changed
+66 -4

No files matched your search

@@ -232,7 +232,7 @@ namespace ams::kern {
const s64 prev_tick = this->last_context_switch_time;
const s64 cur_tick = KHardwareTimer::GetTick();
const s64 tick_diff = cur_tick - prev_tick;
cur_thread->AddCpuTime(tick_diff);
cur_thread->AddCpuTime(this->core_id, tick_diff);
if (cur_process != nullptr) {
cur_process->AddCpuTime(tick_diff);
}