Fixed video mode saving in windows port

This commit is contained in:
pagefault
2001-10-02 20:25:12 +00:00
parent 85357cd84f
commit d3b7ddf96d

View File

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