mirror of https://github.com/bsnes-emu/bsnes.git
Better emulation of negative WX positions
This commit is contained in:
parent
248e7bc332
commit
7456beb7b9
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue