shithub: zelda3

Download patch

ref: 95659d2f40f893b0709bc7704fdb4cb02d10b177
parent: 3f52f05e03878801129119c8d08927db6d110a69
author: Snesrev <snesrev@protonmail.com>
date: Mon Oct 10 22:29:21 EDT 2022

Disabling EnhancedMode7 led to broken map rendering (Fixes #141)

--- a/snes/ppu.c
+++ b/snes/ppu.c
@@ -833,7 +833,7 @@
       PpuDrawBackground_2bpp(ppu, y, sub, 2, 0xf200, 0x1200);
   } else {
     // mode 7
-    PpuDrawBackground_mode7(ppu, y, sub, 0xc0);
+    PpuDrawBackground_mode7(ppu, y, sub, 0xc000);
     if (ppu->lineHasSprites)
       PpuDrawSprites(ppu, y, sub, false);
   }