mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 10:27:58 -05:00
svc: Implement svcGetInfo command 0xF0000002
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; }
This commit is contained in:
@ -53,6 +53,7 @@ enum class GetInfoType : u64 {
|
||||
PrivilegedProcessId = 19,
|
||||
// 5.0.0+
|
||||
UserExceptionContextAddr = 20,
|
||||
ThreadTickCount = 0xF0000002,
|
||||
};
|
||||
|
||||
void CallSVC(u32 immediate);
|
||||
|
Reference in New Issue
Block a user