From d8d6706454569d32a3be31649cd3116c6a07d8e2 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Fri, 8 Jul 2005 07:38:31 +0000 Subject: [PATCH] Fixed ToP intro yet again, this code is much smarter at detecting when a window is present and when is not --- zsnes/src/video/newgfx16.asm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zsnes/src/video/newgfx16.asm b/zsnes/src/video/newgfx16.asm index 422f7421..e1b92c46 100644 --- a/zsnes/src/video/newgfx16.asm +++ b/zsnes/src/video/newgfx16.asm @@ -2575,8 +2575,13 @@ drawsprng16bt: xor eax,eax test byte[BGMS1+ebx*2+1],10h jnz near drawsprng16bmst - test byte[BGMS1+ebx*2+1],08h + mov al,byte[BGMS1+ebx*2] + shr al,2 + test byte[BGMS1+ebx*2],al + jnz .transpwin + cmp byte[BGMS1+ebx*2+1],0 jnz .main +.transpwin mov edi,[CMainWinScr] cmp byte[edi+ebx+4*256],0 jne near drawsprngw16bt