shithub: zelda3

Download patch

ref: 4dedf0bf70f2307116f03302a44b46340e9f486b
parent: 2015bb0dbd8b6e8b1e0ede44d862318247887ad3
author: Snesrev <snesrev@protonmail.com>
date: Tue Sep 20 18:34:58 EDT 2022

240 lines didn't work in 4:3 mode (#102)

--- a/zelda_rtl.c
+++ b/zelda_rtl.c
@@ -210,7 +210,7 @@
       PpuSetMode7PerspectiveCorrection(g_zenv.ppu, 0, 0);
   }
 
-  if (g_zenv.ppu->extraLeftRight != 0)
+  if (g_zenv.ppu->extraLeftRight != 0 || render_flags & kPpuRenderFlags_Height240)
     ConfigurePpuSideSpace();
 
   int height = render_flags & kPpuRenderFlags_Height240 ? 240 : 224;