From c3abc16a94a021cb6dc111834d3672ffd2fa9f00 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Fri, 15 Jan 2016 01:29:32 -0800 Subject: [PATCH] GB: Fix writing IE --- src/gb/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gb/io.c b/src/gb/io.c index d0ef0fe72..64fd82388 100644 --- a/src/gb/io.c +++ b/src/gb/io.c @@ -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) {