mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-31 08:15:48 +02:00
Fixed inaccurate LCD controller behavior that caused Pokémon Pinball to freeze.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user