Fix DOS port compile

This commit is contained in:
pagefault
2003-03-04 21:18:28 +00:00
parent e035543cd6
commit 224b282b0d
3 changed files with 15 additions and 5 deletions

View File

@@ -1158,6 +1158,7 @@ GUIVideoKeys:
je .nohiresmode7
xor byte[Mode7HiRes16b],1
.nohiresmode7
%ifndef __MSDOS__
cmp dh,'M'
jne .nomotionblur
xor ebx,ebx
@@ -1165,6 +1166,7 @@ GUIVideoKeys:
je .nomotionblur
xor byte[MotionBlur],1
.nomotionblur
%endif
cmp dh,'B'
jne .nobilinearfilter
xor ebx,ebx

View File

@@ -2251,13 +2251,15 @@ DisplayGUIVideoClick:
xor ebx,ebx
mov bl,[cvidmode]
cmp byte[GUIM7VID+ebx],0
je .nocheckboxtm7
je .nocheckboxm7
GUIClickCButton5 11,173,byte[Mode7HiRes16b],1
.nocheckboxtm7
.nocheckboxm7
%ifndef __MSDOS__
cmp byte[GUIMBVID+ebx],0
je .nocheckboxtmb
je .nocheckboxmb
GUIClickCButton5 11,173,byte[MotionBlur],1
.nocheckboxtmb
.nocheckboxmb
%endif
xor ebx,ebx
mov bl,[cvidmode]
cmp byte[GUIHSVID+ebx],0

View File

@@ -1742,10 +1742,12 @@ DisplayGUIVideo:
je .notext8
GUIOuttextwin2u 5,26,178,GUIVideoText8b,0
.notext8
%ifndef __MSDOS__
cmp byte[GUIMBVID+eax],0
je .notext82
GUIOuttextwin2u 5,26,178,GUIVideoText8b2,0
.notext82
%endif
GUIOuttextwin2u 5,26,188,GUIVideoText8c,0
%ifndef __LINUX__
GUIOuttextwin2u 5,130,188,GUIVideoText9,0
@@ -1847,10 +1849,12 @@ DisplayGUIVideo:
je .notext8b
GUIOuttextwin2 5,25,177,GUIVideoText8b
.notext8b
%ifndef __MSDOS__
cmp byte[GUIMBVID+eax],0
je .notext8b2
GUIOuttextwin2 5,25,177,GUIVideoText8b2
.notext8b2
%endif
GUIOuttextwin2 5,25,187,GUIVideoText8c
%ifndef __LINUX__
GUIOuttextwin2 5,129,187,GUIVideoText9
@@ -1976,6 +1980,7 @@ DisplayGUIVideo:
.nocheckbox1m72
GUIDisplayIconWin 5,11,173,[GUITemp]
.nocheckboxm72
%ifndef __MSDOS__
cmp byte[GUIMBVID+eax],0
je .nocheckboxmb2
mov dword[GUITemp],GUIIconDataCheckBoxUC
@@ -1985,13 +1990,14 @@ DisplayGUIVideo:
.nocheckboxmb
GUIDisplayIconWin 5,11,173,[GUITemp]
.nocheckboxmb2
%endif
mov dword[GUITemp],GUIIconDataCheckBoxUC
cmp byte[GrayscaleMode],0
je .nocheckboxm73
mov dword[GUITemp],GUIIconDataCheckBoxC
.nocheckboxm73
GUIDisplayIconWin 5,11,183,[GUITemp]
%ifndef __LINUX__s
%ifndef __LINUX__
mov dword[GUITemp],GUIIconDataCheckBoxUC
cmp byte[vsyncon],0
je .nocheckboxm74