From 2c25c47cb963623eafb2a792ae0a6c9942430742 Mon Sep 17 00:00:00 2001 From: squall-leonhart Date: Thu, 19 Sep 2013 03:24:22 +0000 Subject: [PATCH] fixes zelda oracles without breaking duke nukem or 007 git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1206 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/gb/gbGfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gb/gbGfx.cpp b/src/gb/gbGfx.cpp index a197405f..72e65598 100644 --- a/src/gb/gbGfx.cpp +++ b/src/gb/gbGfx.cpp @@ -234,7 +234,7 @@ void gbRenderLine() if(y >= inUseRegister_WY) { - if (gbWindowLine>143) + if ((gbWindowLine == -1) || (gbWindowLine>144)) gbWindowLine = 0; int wx = register_WX;