Updated videomodes to support values > 19
This commit is contained in:
@@ -1446,12 +1446,20 @@ NEWSYM getcfg
|
|||||||
ret
|
ret
|
||||||
.videob
|
.videob
|
||||||
cmp byte[.stringb],'1'
|
cmp byte[.stringb],'1'
|
||||||
jne .novideo
|
jne .novideo2
|
||||||
mov al,[.stringb+1]
|
mov al,[.stringb+1]
|
||||||
sub al,38
|
sub al,38
|
||||||
mov [cvidmode],al
|
mov [cvidmode],al
|
||||||
mov [cfgcvidmode],al
|
mov [cfgcvidmode],al
|
||||||
ret
|
ret
|
||||||
|
.novideo2
|
||||||
|
cmp byte[.stringb],'2'
|
||||||
|
jne .novideo
|
||||||
|
mov al,[.stringb+1]
|
||||||
|
sub al,28
|
||||||
|
mov [cvidmode],al
|
||||||
|
mov [cfgcvidmode],al
|
||||||
|
ret
|
||||||
|
|
||||||
.getexecute
|
.getexecute
|
||||||
cmp dword[.strlenb],0
|
cmp dword[.strlenb],0
|
||||||
|
|||||||
Reference in New Issue
Block a user