From 90d99eb32fd5e4ab1c4293ef1582d9083db13695 Mon Sep 17 00:00:00 2001 From: Silent Date: Mon, 4 Jul 2016 00:36:24 +0200 Subject: [PATCH] Fix Windows XP launch crash Fix warning --- SilentPatchSA/SilentPatchSA.cpp | 2 +- SilentPatchSA/SilentPatchSA.vcxproj | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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