Explorar o código

Use legacy incbin on 32-bit Win32.

Brucey %!s(int64=5) %!d(string=hai) anos
pai
achega
74e2bcaeee
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      options.bmx

+ 5 - 0
options.bmx

@@ -256,6 +256,11 @@ Function ParseArgs:String[](args:String[])
 	If opt_arch = "x64" Or opt_arch = "arm64v8a" Or opt_arch = "arm64" Then
 		WORD_SIZE = 8
 	End If
+	
+	' new incbin doesn't work on win32 x86
+	If opt_arch = "x86" And opt_platform = "win32" Then
+		opt_legacy_incbin = True
+	End If
 
 	If opt_makelib Then
 		If Not opt_nodef Then