This commit is contained in:
byuu 2019-11-10 10:05:52 +09:00
parent 3ecea80ecb
commit 6edad01fb8
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ auto PPU::Background::runMode7() -> void {
int voffset = (int13)latch.voffset;
uint x = mosaic.hoffset;
uint y = mosaic.enable ? ppu.bg1.mosaic.voffset : ppu.vcounter(); //BG2 vertical mosaic uses BG1 mosaic size
uint y = !mosaic.enable ? ppu.vcounter() : ppu.bg1.mosaic.voffset; //BG2 vertical mosaic uses BG1 mosaic size
if(!mosaic.enable) {
mosaic.hoffset += 1;