mirror of https://github.com/mgba-emu/mgba.git
GB: Fix writing IE
This commit is contained in:
parent
0d4bb5dc2b
commit
c3abc16a94
|
@ -24,7 +24,7 @@ void GBIOWrite(struct GB* gb, unsigned address, uint8_t value) {
|
||||||
case REG_IE:
|
case REG_IE:
|
||||||
gb->memory.ie = value;
|
gb->memory.ie = value;
|
||||||
GBUpdateIRQs(gb);
|
GBUpdateIRQs(gb);
|
||||||
break;
|
return;
|
||||||
default:
|
default:
|
||||||
// TODO: Log
|
// TODO: Log
|
||||||
if (address >= GB_SIZE_IO) {
|
if (address >= GB_SIZE_IO) {
|
||||||
|
|
Loading…
Reference in New Issue