This commit is contained in:
Lior Halphon 2018-06-04 01:52:24 +03:00
parent 8721a48206
commit 0481ff9af5
1 changed files with 1 additions and 0 deletions

View File

@ -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*/