From bbb3ebc25dbd284b6a5f1513c6b8189eee39f24d Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Tue, 4 Feb 2025 12:41:19 +0300 Subject: [PATCH] Remove Win32 implementation of SetThreadIdealProcessor. --- UnleashedRecomp/cpu/guest_thread.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/UnleashedRecomp/cpu/guest_thread.cpp b/UnleashedRecomp/cpu/guest_thread.cpp index 3086b91..4249c58 100644 --- a/UnleashedRecomp/cpu/guest_thread.cpp +++ b/UnleashedRecomp/cpu/guest_thread.cpp @@ -165,11 +165,7 @@ int GetThreadPriorityImpl(GuestThreadHandle* hThread) uint32_t SetThreadIdealProcessorImpl(GuestThreadHandle* hThread, uint32_t dwIdealProcessor) { -#ifdef _WIN32 - return SetThreadIdealProcessor(hThread == GetKernelObject(CURRENT_THREAD_HANDLE) ? GetCurrentThread() : hThread->thread.native_handle(), dwIdealProcessor); -#else return 0; -#endif } GUEST_FUNCTION_HOOK(sub_82DFA2E8, SetThreadNameImpl);