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 */
|
/* Drop pixels for scrollings */
|
||||||
if (gb->position_in_line >= 160 || (gb->disable_rendering && !gb->sgb)) {
|
if (gb->position_in_line >= 160 || (gb->disable_rendering && !gb->sgb)) {
|
||||||
gb->position_in_line++;
|
gb->position_in_line++;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (gb->bg_fifo_paused) return;
|
|
||||||
|
|
||||||
/* Mixing */
|
/* Mixing */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user