Updated incorrect comment after verification
This commit is contained in:
parent
220ba9ff38
commit
0cbbaac490
@ -50,7 +50,7 @@ void GB_update_joyp(GB_gameboy_t *gb)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (previous_state != (gb->io_registers[GB_IO_JOYP] & 0xF)) {
|
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_IF] |= 0x10;
|
||||||
}
|
}
|
||||||
gb->io_registers[GB_IO_JOYP] |= 0xC0; // No SGB support
|
gb->io_registers[GB_IO_JOYP] |= 0xC0; // No SGB support
|
||||||
|
Loading…
Reference in New Issue
Block a user