Updated videomodes to support values > 19

This commit is contained in:
zsknight
2001-05-17 00:59:29 +00:00
parent b02ef7ebfd
commit 94cd9994d1

View File

@@ -1446,12 +1446,20 @@ NEWSYM getcfg
ret
.videob
cmp byte[.stringb],'1'
jne .novideo
jne .novideo2
mov al,[.stringb+1]
sub al,38
mov [cvidmode],al
mov [cfgcvidmode],al
ret
.novideo2
cmp byte[.stringb],'2'
jne .novideo
mov al,[.stringb+1]
sub al,28
mov [cvidmode],al
mov [cfgcvidmode],al
ret
.getexecute
cmp dword[.strlenb],0