From 601799430ca4a947d42db7d15b1b4e640cc16f20 Mon Sep 17 00:00:00 2001
From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>
Date: Sat, 16 Apr 2022 23:50:57 +0200
Subject: [PATCH] Remove extraneous '/arch:AVX2' compiler flag
The game doesn't require a CPU with AVX2 instructions, our SDK did because of a mistake (I left this compiler flag in after debugging the SDK, and never removed it).
Bit shift operations use the SHLX instructions instead of the widely supported SHL instructions when this flag is issued.
---
r5dev/vproj/gamesdk.vcxproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/r5dev/vproj/gamesdk.vcxproj b/r5dev/vproj/gamesdk.vcxproj
index cea41e88..bf262b99 100644
--- a/r5dev/vproj/gamesdk.vcxproj
+++ b/r5dev/vproj/gamesdk.vcxproj
@@ -500,7 +500,7 @@
true
- /D GAMESDK /D _CRT_SECURE_NO_WARNINGS /arch:AVX2 %(AdditionalOptions)
+ /D GAMESDK /D _CRT_SECURE_NO_WARNINGS %(AdditionalOptions)Windows