all repos — mgba @ df1c0b484abea617c77a9d2087d4efc5ede45e0b

mGBA Game Boy Advance Emulator

GB Video: Fix BGPS value after skipping BIOS (fixes #1717)
Vicki Pfau vi@endrift.com
Wed, 13 May 2020 20:00:30 -0700
commit

df1c0b484abea617c77a9d2087d4efc5ede45e0b

parent

b716ba2117059e490fd634ef96ab6acef3642eec

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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);