don't set thread affinity for winmm threads since it's causing side-effects
This commit is contained in:
parent
0a32150af9
commit
c4ece39e5a
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue