mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-22 12:23:36 +02:00
Better emulation of negative WX positions
This commit is contained in:
@@ -434,12 +434,13 @@ static void render_pixel_if_possible(GB_gameboy_t *gb)
|
||||
}
|
||||
}
|
||||
|
||||
if (gb->bg_fifo_paused) return;
|
||||
|
||||
/* Drop pixels for scrollings */
|
||||
if (gb->position_in_line >= 160 || (gb->disable_rendering && !gb->sgb)) {
|
||||
gb->position_in_line++;
|
||||
return;
|
||||
}
|
||||
if (gb->bg_fifo_paused) return;
|
||||
|
||||
/* Mixing */
|
||||
|
||||
|
Reference in New Issue
Block a user