Fix DOS port compile
This commit is contained in:
@@ -1158,6 +1158,7 @@ GUIVideoKeys:
|
|||||||
je .nohiresmode7
|
je .nohiresmode7
|
||||||
xor byte[Mode7HiRes16b],1
|
xor byte[Mode7HiRes16b],1
|
||||||
.nohiresmode7
|
.nohiresmode7
|
||||||
|
%ifndef __MSDOS__
|
||||||
cmp dh,'M'
|
cmp dh,'M'
|
||||||
jne .nomotionblur
|
jne .nomotionblur
|
||||||
xor ebx,ebx
|
xor ebx,ebx
|
||||||
@@ -1165,6 +1166,7 @@ GUIVideoKeys:
|
|||||||
je .nomotionblur
|
je .nomotionblur
|
||||||
xor byte[MotionBlur],1
|
xor byte[MotionBlur],1
|
||||||
.nomotionblur
|
.nomotionblur
|
||||||
|
%endif
|
||||||
cmp dh,'B'
|
cmp dh,'B'
|
||||||
jne .nobilinearfilter
|
jne .nobilinearfilter
|
||||||
xor ebx,ebx
|
xor ebx,ebx
|
||||||
|
|||||||
@@ -2251,13 +2251,15 @@ DisplayGUIVideoClick:
|
|||||||
xor ebx,ebx
|
xor ebx,ebx
|
||||||
mov bl,[cvidmode]
|
mov bl,[cvidmode]
|
||||||
cmp byte[GUIM7VID+ebx],0
|
cmp byte[GUIM7VID+ebx],0
|
||||||
je .nocheckboxtm7
|
je .nocheckboxm7
|
||||||
GUIClickCButton5 11,173,byte[Mode7HiRes16b],1
|
GUIClickCButton5 11,173,byte[Mode7HiRes16b],1
|
||||||
.nocheckboxtm7
|
.nocheckboxm7
|
||||||
|
%ifndef __MSDOS__
|
||||||
cmp byte[GUIMBVID+ebx],0
|
cmp byte[GUIMBVID+ebx],0
|
||||||
je .nocheckboxtmb
|
je .nocheckboxmb
|
||||||
GUIClickCButton5 11,173,byte[MotionBlur],1
|
GUIClickCButton5 11,173,byte[MotionBlur],1
|
||||||
.nocheckboxtmb
|
.nocheckboxmb
|
||||||
|
%endif
|
||||||
xor ebx,ebx
|
xor ebx,ebx
|
||||||
mov bl,[cvidmode]
|
mov bl,[cvidmode]
|
||||||
cmp byte[GUIHSVID+ebx],0
|
cmp byte[GUIHSVID+ebx],0
|
||||||
|
|||||||
@@ -1742,10 +1742,12 @@ DisplayGUIVideo:
|
|||||||
je .notext8
|
je .notext8
|
||||||
GUIOuttextwin2u 5,26,178,GUIVideoText8b,0
|
GUIOuttextwin2u 5,26,178,GUIVideoText8b,0
|
||||||
.notext8
|
.notext8
|
||||||
|
%ifndef __MSDOS__
|
||||||
cmp byte[GUIMBVID+eax],0
|
cmp byte[GUIMBVID+eax],0
|
||||||
je .notext82
|
je .notext82
|
||||||
GUIOuttextwin2u 5,26,178,GUIVideoText8b2,0
|
GUIOuttextwin2u 5,26,178,GUIVideoText8b2,0
|
||||||
.notext82
|
.notext82
|
||||||
|
%endif
|
||||||
GUIOuttextwin2u 5,26,188,GUIVideoText8c,0
|
GUIOuttextwin2u 5,26,188,GUIVideoText8c,0
|
||||||
%ifndef __LINUX__
|
%ifndef __LINUX__
|
||||||
GUIOuttextwin2u 5,130,188,GUIVideoText9,0
|
GUIOuttextwin2u 5,130,188,GUIVideoText9,0
|
||||||
@@ -1847,10 +1849,12 @@ DisplayGUIVideo:
|
|||||||
je .notext8b
|
je .notext8b
|
||||||
GUIOuttextwin2 5,25,177,GUIVideoText8b
|
GUIOuttextwin2 5,25,177,GUIVideoText8b
|
||||||
.notext8b
|
.notext8b
|
||||||
|
%ifndef __MSDOS__
|
||||||
cmp byte[GUIMBVID+eax],0
|
cmp byte[GUIMBVID+eax],0
|
||||||
je .notext8b2
|
je .notext8b2
|
||||||
GUIOuttextwin2 5,25,177,GUIVideoText8b2
|
GUIOuttextwin2 5,25,177,GUIVideoText8b2
|
||||||
.notext8b2
|
.notext8b2
|
||||||
|
%endif
|
||||||
GUIOuttextwin2 5,25,187,GUIVideoText8c
|
GUIOuttextwin2 5,25,187,GUIVideoText8c
|
||||||
%ifndef __LINUX__
|
%ifndef __LINUX__
|
||||||
GUIOuttextwin2 5,129,187,GUIVideoText9
|
GUIOuttextwin2 5,129,187,GUIVideoText9
|
||||||
@@ -1976,6 +1980,7 @@ DisplayGUIVideo:
|
|||||||
.nocheckbox1m72
|
.nocheckbox1m72
|
||||||
GUIDisplayIconWin 5,11,173,[GUITemp]
|
GUIDisplayIconWin 5,11,173,[GUITemp]
|
||||||
.nocheckboxm72
|
.nocheckboxm72
|
||||||
|
%ifndef __MSDOS__
|
||||||
cmp byte[GUIMBVID+eax],0
|
cmp byte[GUIMBVID+eax],0
|
||||||
je .nocheckboxmb2
|
je .nocheckboxmb2
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
@@ -1985,13 +1990,14 @@ DisplayGUIVideo:
|
|||||||
.nocheckboxmb
|
.nocheckboxmb
|
||||||
GUIDisplayIconWin 5,11,173,[GUITemp]
|
GUIDisplayIconWin 5,11,173,[GUITemp]
|
||||||
.nocheckboxmb2
|
.nocheckboxmb2
|
||||||
|
%endif
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
cmp byte[GrayscaleMode],0
|
cmp byte[GrayscaleMode],0
|
||||||
je .nocheckboxm73
|
je .nocheckboxm73
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
.nocheckboxm73
|
.nocheckboxm73
|
||||||
GUIDisplayIconWin 5,11,183,[GUITemp]
|
GUIDisplayIconWin 5,11,183,[GUITemp]
|
||||||
%ifndef __LINUX__s
|
%ifndef __LINUX__
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
cmp byte[vsyncon],0
|
cmp byte[vsyncon],0
|
||||||
je .nocheckboxm74
|
je .nocheckboxm74
|
||||||
|
|||||||
Reference in New Issue
Block a user