Fixed video mode saving in windows port
This commit is contained in:
@@ -1471,12 +1471,20 @@ NEWSYM getcfg
|
|||||||
ret
|
ret
|
||||||
.novideo2
|
.novideo2
|
||||||
cmp byte[.stringb],'2'
|
cmp byte[.stringb],'2'
|
||||||
jne .novideo
|
jne .novideo3
|
||||||
mov al,[.stringb+1]
|
mov al,[.stringb+1]
|
||||||
sub al,28
|
sub al,28
|
||||||
mov [cvidmode],al
|
mov [cvidmode],al
|
||||||
mov [cfgcvidmode],al
|
mov [cfgcvidmode],al
|
||||||
ret
|
ret
|
||||||
|
.novideo3
|
||||||
|
cmp byte[.stringb],'3'
|
||||||
|
jne .novideo
|
||||||
|
mov al,[.stringb+1]
|
||||||
|
sub al,18
|
||||||
|
mov [cvidmode],al
|
||||||
|
mov [cfgcvidmode],al
|
||||||
|
ret
|
||||||
|
|
||||||
.getexecute
|
.getexecute
|
||||||
cmp dword[.strlenb],0
|
cmp dword[.strlenb],0
|
||||||
|
|||||||
Reference in New Issue
Block a user