GB Video: Fix BGPS value after skipping BIOS (fixes #1717)
Vicki Pfau vi@endrift.com
Wed, 13 May 2020 20:00:30 -0700
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -1,5 +1,6 @@
0.8.2: (Future) - GB: Fix GBC game registers after skipping BIOS + - GB Video: Fix BGPS value after skipping BIOS (fixes mgba.io/i/1717) - GBA: Add missing RTC overrides for Legendz games - GBA SIO: Fix Multiplayer busy bit - GBA SIO: Fix double-unloading active driver
M
src/gb/io.c
→
src/gb/io.c
@@ -203,7 +203,7 @@ if (gb->model & GB_MODEL_CGB) {
GBIOWrite(gb, REG_UNK4C, 0); GBIOWrite(gb, REG_JOYP, 0xFF); GBIOWrite(gb, REG_VBK, 0); - GBIOWrite(gb, REG_BCPS, 0); + GBIOWrite(gb, REG_BCPS, 0x80); GBIOWrite(gb, REG_OCPS, 0); GBIOWrite(gb, REG_SVBK, 1); GBIOWrite(gb, REG_HDMA1, 0xFF);