Updated incorrect comment after verification

This commit is contained in:
Lior Halphon 2018-02-10 19:50:42 +02:00
parent 220ba9ff38
commit 0cbbaac490
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ void GB_update_joyp(GB_gameboy_t *gb)
break;
}
if (previous_state != (gb->io_registers[GB_IO_JOYP] & 0xF)) {
/* Todo: disable when emulating CGB */
/* The joypad interrupt DOES occur on CGB (Tested on CGB-CPU-06), unlike what some documents say. */
gb->io_registers[GB_IO_IF] |= 0x10;
}
gb->io_registers[GB_IO_JOYP] |= 0xC0; // No SGB support