|
|
|
@@ -362,6 +362,7 @@ static void render_bg_scanline(const nes_ppu* ppu,/* int scanline,*/ |
|
|
|
int page = (ppu->control & ppu_Control_Nametable_Mask); |
|
|
|
int x = ppu->scroll_x; |
|
|
|
int y = ppu->scroll_y; |
|
|
|
if (y >= nes_ppu_render_h) y -= nes_ppu_render_h; |
|
|
|
int w = (nes_ppu_render_w - x); |
|
|
|
if (!(ppu->mask & ppu_Mask_Left_Back)) { |
|
|
|
// Handle column 0 flag - need to fill with transparency |
|
|
|
|