mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-25 01:57:47 +01:00
don't set thread affinity for winmm threads since it's causing side-effects
This commit is contained in:
parent
0a32150af9
commit
c4ece39e5a
@ -134,8 +134,7 @@ void util_set_thread_affinity(DWORD tid)
|
|||||||
{
|
{
|
||||||
_splitpath(mod_path, NULL, mod_dir, mod_filename, NULL);
|
_splitpath(mod_path, NULL, mod_dir, mod_filename, NULL);
|
||||||
|
|
||||||
if (_strnicmp(game_dir, mod_dir, strlen(game_dir)) == 0 ||
|
if (_strnicmp(game_dir, mod_dir, strlen(game_dir)) == 0) // _strcmpi(mod_filename, "WINMM") == 0
|
||||||
_strcmpi(mod_filename, "WINMM") == 0)
|
|
||||||
{
|
{
|
||||||
SetThreadAffinityMask(thread, 1);
|
SetThreadAffinityMask(thread, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user