diff --git a/patches/kernel32-Processor_Group/0002-kernel32-Add-stub-for-SetThreadIdealProcessorEx.patch b/patches/kernel32-Processor_Group/0002-kernel32-Add-stub-for-SetThreadIdealProcessorEx.patch deleted file mode 100644 index f423420a..00000000 --- a/patches/kernel32-Processor_Group/0002-kernel32-Add-stub-for-SetThreadIdealProcessorEx.patch +++ /dev/null @@ -1,46 +0,0 @@ -From b23c9ccff82d2262c48ae2a32ab642cc6ba07556 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Michael=20M=C3=BCller?= -Date: Sat, 4 Feb 2017 16:31:59 +0100 -Subject: [PATCH] kernel32: Add stub for SetThreadIdealProcessorEx. - ---- - dlls/kernelbase/thread.c | 21 +++++++++++++++++---- - 1 file changed, 17 insertions(+), 4 deletions(-) - -diff --git a/dlls/kernelbase/thread.c b/dlls/kernelbase/thread.c -index cf8e6be2b..d775b3c0e 100644 ---- a/dlls/kernelbase/thread.c -+++ b/dlls/kernelbase/thread.c -@@ -437,12 +437,25 @@ DWORD WINAPI DECLSPEC_HOTPATCH SetThreadIdealProcessor( HANDLE thread, DWORD pro - /*********************************************************************** - * SetThreadIdealProcessorEx (kernelbase.@) - */ --BOOL WINAPI DECLSPEC_HOTPATCH SetThreadIdealProcessorEx( HANDLE thread, PROCESSOR_NUMBER *ideal, -+BOOL WINAPI DECLSPEC_HOTPATCH SetThreadIdealProcessorEx( HANDLE thread, PROCESSOR_NUMBER *processor, - PROCESSOR_NUMBER *previous ) - { -- FIXME( "(%p %p %p): stub\n", thread, ideal, previous ); -- SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); -- return FALSE; -+ FIXME("(%p, %p, %p): stub\n", thread, processor, previous); -+ -+ if (!processor || processor->Group > 0 || processor->Number > MAXIMUM_PROCESSORS) -+ { -+ SetLastError(ERROR_INVALID_PARAMETER); -+ return FALSE; -+ } -+ -+ if (previous) -+ { -+ previous->Group = 0; -+ previous->Number = 0; -+ previous->Reserved = 0; -+ } -+ -+ return TRUE; - } - - --- -2.22.0 - diff --git a/patches/kernel32-Processor_Group/definition b/patches/kernel32-Processor_Group/definition deleted file mode 100644 index 27b27991..00000000 --- a/patches/kernel32-Processor_Group/definition +++ /dev/null @@ -1 +0,0 @@ -Fixes: Implement some processor group functions and SetThreadIdealProcessorEx