Fix sprite priority
This commit is contained in:
parent
cb33a5b25a
commit
e9f243a913
@ -354,7 +354,7 @@ static void render_pixel_if_possible(GB_gameboy_t *gb)
|
|||||||
|
|
||||||
if ((gb->io_registers[GB_IO_LCDC] & 0x1) == 0) {
|
if ((gb->io_registers[GB_IO_LCDC] & 0x1) == 0) {
|
||||||
if (gb->cgb_mode) {
|
if (gb->cgb_mode) {
|
||||||
bg_priority = true;
|
bg_priority = false;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
bg_enabled = false;
|
bg_enabled = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user