mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-23 00:53:01 +02:00
Fix the fast CGB boot ROM booting with data on the second VRAM bank
This commit is contained in:
@@ -99,6 +99,10 @@ Start:
|
||||
ld hl, $98C2
|
||||
ld b, 3
|
||||
ld a, 8
|
||||
IF DEF(FAST)
|
||||
xor a
|
||||
ldh [$4F], a
|
||||
ENDC
|
||||
|
||||
.tilemapLoop
|
||||
ld c, $10
|
||||
@@ -107,6 +111,7 @@ Start:
|
||||
|
||||
ld [hl], a
|
||||
push af
|
||||
IF !DEF(FAST)
|
||||
; Switch to second VRAM Bank
|
||||
ld a, 1
|
||||
ldh [$4F], a
|
||||
@@ -115,6 +120,7 @@ Start:
|
||||
; Switch to back first VRAM Bank
|
||||
xor a
|
||||
ldh [$4F], a
|
||||
ENDC
|
||||
pop af
|
||||
ldi [hl], a
|
||||
inc a
|
||||
|
Reference in New Issue
Block a user