mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-26 22:13:52 +01:00

CScript must be run as 64-bit regardless of the MSBuild bitness. Otherwise it won't find 64-bit Git installations. However the "Sysnative" redirector is not available for 64-bit processes. So a fix is needed when 64-bit MSBuild is run. The "ProgramFiles(x86)" Macro is only set for 64-bit, otherwise it is empty. Therefore it can be used as condition to check whether the current MSBuild process is 32 or 64-bit.