From deb3894bf8bbbfdbf6051e4e6bba2b1543ac17c1 Mon Sep 17 00:00:00 2001 From: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com> Date: Wed, 29 Jan 2025 02:39:51 -0600 Subject: [PATCH] Update render.cpp --- ares/fc/ppu/render.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ares/fc/ppu/render.cpp b/ares/fc/ppu/render.cpp index 277b044b3d..22eb100a96 100644 --- a/ares/fc/ppu/render.cpp +++ b/ares/fc/ppu/render.cpp @@ -25,8 +25,10 @@ auto PPU::renderPixel() -> void { u32 objectPalette = 0; bool objectPriority = 0; - //PAL systems blank the topmost scanline and the first and last 2px of active display - if(Region::PAL()) if(io.ly == 0 || x < 2 || x > 254) return; + //PAL systems technically blank the topmost scanline and a 2px column on each side of active display. + //This does little else but crop good tiledata and mismatch screenshots with ntsc. + //Uncomment the line below to enable. + //if(Region::PAL()) if(io.ly == 0 || x < 2 || x > 253) return; palette |= latch.tiledataLo & mask ? 1 : 0; palette |= latch.tiledataHi & mask ? 2 : 0;