Fixed scanlines toggle for 256x256 in DOS port.

This commit is contained in:
stainless
2001-09-10 23:10:54 +00:00
parent 0110b89b13
commit 28273d74fb
2 changed files with 4 additions and 4 deletions

View File

@@ -1003,7 +1003,7 @@ GUIVideoKeys:
call ClearScreen call ClearScreen
GUIkeystoggleoptn byte[scanlines],1 GUIkeystoggleoptn byte[scanlines],1
%ifdef __MSDOS__ %ifdef __MSDOS__
cmp byte[cvidmode],1 cmp byte[cvidmode],2
jne .nofullscanlines jne .nofullscanlines
mov byte[cbitmode],1 mov byte[cbitmode],1
call initvideo2 call initvideo2
@@ -1022,7 +1022,7 @@ GUIVideoKeys:
call ClearScreen call ClearScreen
GUIkeystoggleoptn byte[scanlines],3 GUIkeystoggleoptn byte[scanlines],3
%ifdef __MSDOS__ %ifdef __MSDOS__
cmp byte[cvidmode],1 cmp byte[cvidmode],2
jne .nohalfscanlines jne .nohalfscanlines
mov byte[cbitmode],1 mov byte[cbitmode],1
call initvideo2 call initvideo2
@@ -1037,7 +1037,7 @@ GUIVideoKeys:
call ClearScreen call ClearScreen
GUIkeystoggleoptn byte[scanlines],2 GUIkeystoggleoptn byte[scanlines],2
%ifdef __MSDOS__ %ifdef __MSDOS__
cmp byte[cvidmode],1 cmp byte[cvidmode],2
jne .noquarterscanlines jne .noquarterscanlines
mov byte[cbitmode],1 mov byte[cbitmode],1
call initvideo2 call initvideo2

View File

@@ -1235,7 +1235,7 @@ GUIWinClicked:
; cmp byte[OSPort],2 ; cmp byte[OSPort],2
; jae %%nomodeq ; jae %%nomodeq
%ifdef __MSDOS__ %ifdef __MSDOS__
cmp byte[cvidmode],1 cmp byte[cvidmode],2
jne %%nomodeq jne %%nomodeq
mov byte[cbitmode],1 mov byte[cbitmode],1
call initvideo2 call initvideo2