Updated videomodes to support values > 19
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user