fix bg mode 4 in accurate ppu

This commit is contained in:
Morilli
2025-06-30 19:57:24 +02:00
committed by Screwtapello
parent b815744b4c
commit 20ddad606f

View File

@@ -61,7 +61,7 @@ auto PPU::Background::fetchNameTable() -> void {
if(!(hlookup & 0x8000)) { if(!(hlookup & 0x8000)) {
hoffset = hpixel + (hlookup & ~7) + (hscroll & 7); hoffset = hpixel + (hlookup & ~7) + (hscroll & 7);
} else { } else {
voffset = vpixel + (vlookup); voffset = vpixel + (hlookup);
} }
} }
} else { } else {