mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-03 08:22:55 +02:00
Fixed DI instruction on CGB
This commit is contained in:
@@ -1119,6 +1119,9 @@ static void di(GB_gameboy_t *gb, uint8_t opcode)
|
|||||||
if (!gb->is_cgb) {
|
if (!gb->is_cgb) {
|
||||||
gb->ime = false;
|
gb->ime = false;
|
||||||
}
|
}
|
||||||
|
else if (gb->ime) {
|
||||||
|
gb->ime_toggle = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ei(GB_gameboy_t *gb, uint8_t opcode)
|
static void ei(GB_gameboy_t *gb, uint8_t opcode)
|
||||||
|
Reference in New Issue
Block a user