mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-02 17:12:50 +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) {
|
||||
gb->ime = false;
|
||||
}
|
||||
else if (gb->ime) {
|
||||
gb->ime_toggle = true;
|
||||
}
|
||||
}
|
||||
|
||||
static void ei(GB_gameboy_t *gb, uint8_t opcode)
|
||||
|
Reference in New Issue
Block a user