Skip to content
Snippets Groups Projects
  • Lioncash's avatar
    svc: Implement svcGetInfo command 0xF0000002 · 6594853e
    Lioncash authored
    This retrieves:
    
    if (curr_thread == handle_thread) {
       result = total_thread_ticks + (hardware_tick_count - last_context_switch_ticks);
    } else if (curr_thread == handle_thread && sub_id == current_core_index) {
       result = hardware_tick_count - last_context_switch_ticks;
    }
    6594853e