From 0481ff9af55fd132d2c4a6a69770e5ed57f634c6 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Mon, 4 Jun 2018 01:52:24 +0300 Subject: [PATCH] Whoops --- Core/z80_cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/z80_cpu.c b/Core/z80_cpu.c index 90c50f5..86b479e 100644 --- a/Core/z80_cpu.c +++ b/Core/z80_cpu.c @@ -112,6 +112,7 @@ static void cycle_write(GB_gameboy_t *gb, uint16_t addr, uint8_t value) GB_advance_cycles(gb, 1); GB_write_memory(gb, addr, value); gb->pending_cycles = 3; + return; } /* The DMG STAT-write bug is basically the STAT register being read as FF for a single T-cycle*/