From df1c0b484abea617c77a9d2087d4efc5ede45e0b Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 13 May 2020 20:00:30 -0700 Subject: [PATCH] GB Video: Fix BGPS value after skipping BIOS (fixes #1717) --- CHANGES | 1 + src/gb/io.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 4f3b8c776..70f9592fa 100644 --- a/CHANGES +++ b/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 diff --git a/src/gb/io.c b/src/gb/io.c index 155c2c624..ecfa648a1 100644 --- a/src/gb/io.c +++ b/src/gb/io.c @@ -203,7 +203,7 @@ void GBIOReset(struct GB* gb) { 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);