GB: Fix writing IE

This commit is contained in:
Jeffrey Pfau 2016-01-15 01:29:32 -08:00
parent 0d4bb5dc2b
commit c3abc16a94
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ void GBIOWrite(struct GB* gb, unsigned address, uint8_t value) {
case REG_IE:
gb->memory.ie = value;
GBUpdateIRQs(gb);
break;
return;
default:
// TODO: Log
if (address >= GB_SIZE_IO) {