This commit is contained in:
恍兮惚兮 2024-05-11 22:23:22 +08:00
parent dfea2b93ce
commit b731e312c8

View File

@ -68,7 +68,10 @@ DWORD WINAPI Pipe(LPVOID)
break; break;
} }
} }
#if (_WIN32_WINNT <= _WIN32_WINNT_WIN7)
//xp版FreeLibraryAndExitThread会导致游戏崩溃
dont_detach=true;
#endif
if(dont_detach){ if(dont_detach){
host_connected=false; host_connected=false;
return Pipe(0); return Pipe(0);