diff --git a/SilentPatchSA/SilentPatchSA.cpp b/SilentPatchSA/SilentPatchSA.cpp index 0ec41c6..59b4efe 100644 --- a/SilentPatchSA/SilentPatchSA.cpp +++ b/SilentPatchSA/SilentPatchSA.cpp @@ -898,7 +898,7 @@ bool ShaderAttach() FreeResource(shader); - bXMSupported = XMVerifyCPUSupport(); + bXMSupported = XMVerifyCPUSupport() != FALSE; return true; } return false; diff --git a/SilentPatchSA/SilentPatchSA.vcxproj b/SilentPatchSA/SilentPatchSA.vcxproj index dda3f32..0dc6685 100644 --- a/SilentPatchSA/SilentPatchSA.vcxproj +++ b/SilentPatchSA/SilentPatchSA.vcxproj @@ -59,6 +59,7 @@ Use StdAfxSA.h NoExtensions + /Zc:threadSafeInit- %(AdditionalOptions) true @@ -90,6 +91,7 @@ copy /y "$(TargetPath)" "D:\gry\GTA San Andreas clean\scripts\newsteam_r2_lowvio Use StdAfxSA.h NoExtensions + /Zc:threadSafeInit- %(AdditionalOptions) true