1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-14 22:03:27 +01:00

don't set thread affinity for winmm threads since it's causing side-effects

This commit is contained in:
FunkyFr3sh 2025-01-01 03:27:07 +01:00
parent 0a32150af9
commit c4ece39e5a

View File

@ -134,8 +134,7 @@ void util_set_thread_affinity(DWORD tid)
{
_splitpath(mod_path, NULL, mod_dir, mod_filename, NULL);
if (_strnicmp(game_dir, mod_dir, strlen(game_dir)) == 0 ||
_strcmpi(mod_filename, "WINMM") == 0)
if (_strnicmp(game_dir, mod_dir, strlen(game_dir)) == 0) // _strcmpi(mod_filename, "WINMM") == 0
{
SetThreadAffinityMask(thread, 1);
}