Fixed inaccurate LCD controller behavior that caused Pokémon Pinball to freeze.
This commit is contained in:
parent
3344480de7
commit
a3dd58c92c
@ -265,6 +265,7 @@ void display_run(GB_gameboy_t *gb)
|
||||
if (!(gb->io_registers[GB_IO_LCDC] & 0x80)) {
|
||||
/* LCD is disabled, do nothing */
|
||||
gb->io_registers[GB_IO_STAT] &= ~3;
|
||||
gb->io_registers[GB_IO_LY] = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user