Removed unnecessary code in SingleCore option

* GetCurrentProcess returns a pseudo handle, with which calling the
CloseHandle function has no effect.
This commit is contained in:
NovaRain
2025-07-05 19:31:16 +08:00
parent 03af7b193d
commit 13c3ac8db5
-1
View File
@@ -934,7 +934,6 @@ void MiscPatches::init() {
dlogr("Applying single core patch.", DL_INIT);
HANDLE process = GetCurrentProcess();
SetProcessAffinityMask(process, 2); // use only CPU 1
CloseHandle(process);
}
}