Fixed DI instruction on CGB
This commit is contained in:
parent
68740c70e4
commit
e95d2c4abe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user