Fix sprite priority

This commit is contained in:
Lior Halphon 2018-03-21 00:02:35 +02:00
parent cb33a5b25a
commit e9f243a913
1 changed files with 1 additions and 1 deletions

View File

@ -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->cgb_mode) {
bg_priority = true;
bg_priority = false;
}
else {
bg_enabled = false;