Fixed DI instruction on CGB

This commit is contained in:
Lior Halphon 2016-08-06 17:16:16 +03:00
parent 68740c70e4
commit e95d2c4abe

View File

@ -1119,6 +1119,9 @@ static void di(GB_gameboy_t *gb, uint8_t opcode)
if (!gb->is_cgb) {
gb->ime = false;
}
else if (gb->ime) {
gb->ime_toggle = true;
}
}
static void ei(GB_gameboy_t *gb, uint8_t opcode)