From 0cbbaac490272447d6bc32a8d1c2eadd173ac83e Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 10 Feb 2018 19:50:42 +0200 Subject: [PATCH] Updated incorrect comment after verification --- Core/joypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/joypad.c b/Core/joypad.c index c5c4f08..c780b2f 100644 --- a/Core/joypad.c +++ b/Core/joypad.c @@ -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