From 4053f7bb0e86ec089631d3ec9e53a23a47465570 Mon Sep 17 00:00:00 2001 From: Gliniak Date: Mon, 12 Jun 2023 07:32:25 +0200 Subject: [PATCH] [Kernel] Implemented: ObLookupAnyThreadByThreadId --- src/xenia/kernel/xboxkrnl/xboxkrnl_ob.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xenia/kernel/xboxkrnl/xboxkrnl_ob.cc b/src/xenia/kernel/xboxkrnl/xboxkrnl_ob.cc index 01700c3ad..6ab7a035a 100644 --- a/src/xenia/kernel/xboxkrnl/xboxkrnl_ob.cc +++ b/src/xenia/kernel/xboxkrnl/xboxkrnl_ob.cc @@ -84,6 +84,12 @@ dword_result_t ObLookupThreadByThreadId_entry(dword_t thread_id, } DECLARE_XBOXKRNL_EXPORT1(ObLookupThreadByThreadId, kNone, kImplemented); +dword_result_t ObLookupAnyThreadByThreadId_entry(dword_t thread_id, + lpdword_t out_object_ptr) { + return ObLookupThreadByThreadId_entry(thread_id, out_object_ptr); +} +DECLARE_XBOXKRNL_EXPORT1(ObLookupAnyThreadByThreadId, kNone, kImplemented); + template static constexpr uint32_t object_type_id_for_ordinal_v = 0xD000BEEF | (ordinal << 16);