Video settings correction is now done at the start of the GUI

This commit is contained in:
zsknight
2001-05-08 00:40:02 +00:00
parent 6515f13015
commit 5596e50c6f

View File

@@ -1445,6 +1445,29 @@ NEWSYM StartGUI
mov byte[PrevFSMode],7 mov byte[PrevFSMode],7
.notvm5 .notvm5
%endif %endif
cmp byte[TripBufAvail],0
jne .notexttb
mov byte[Triplebufen],0
.notexttb
cmp byte[FPUCopy],2
jne .2xSaIdis
cmp byte[newgfx16b],0
je .2xSaIdis
jmp .no2xSaIdis
.2xSaIdis
mov byte[En2xSaI],0
.no2xSaIdis
cmp byte[En2xSaI],0
je .no2xsaidis
mov byte[Triplebufen],0
.no2xsaidis
cmp byte[En2xSaI],0
je .no2xsaien
mov byte[scanlines],0
mov byte[antienab],0
.no2xsaien
;.dosport ;.dosport
mov ecx,64 mov ecx,64
mov eax,SpecialLine mov eax,SpecialLine