From 5596e50c6fd6cc6f966247482b07a730fab3bb65 Mon Sep 17 00:00:00 2001 From: zsknight <> Date: Tue, 8 May 2001 00:40:02 +0000 Subject: [PATCH] Video settings correction is now done at the start of the GUI --- zsnes/src/gui/gui.asm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/zsnes/src/gui/gui.asm b/zsnes/src/gui/gui.asm index 9fc2ce8d..3926b2d5 100644 --- a/zsnes/src/gui/gui.asm +++ b/zsnes/src/gui/gui.asm @@ -1445,6 +1445,29 @@ NEWSYM StartGUI mov byte[PrevFSMode],7 .notvm5 %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 mov ecx,64 mov eax,SpecialLine