Skip to content

Commit 37c3732

Browse files
authored
Updated LCDC initial value to 0x91 (#354)
1 parent 333aa8f commit 37c3732

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/graphics/graphics.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ export function initializeGraphics(): void {
184184
// Scanline
185185
// Bgb says LY is 90 on boot
186186
Graphics.scanlineRegister = 0x90;
187-
eightBitStoreIntoGBMemory(0xff40, 0x90);
187+
188+
// LCDC register
189+
eightBitStoreIntoGBMemory(0xff40, 0x91);
188190

189191
// GBC VRAM Banks
190192
eightBitStoreIntoGBMemory(0xff4f, 0x00);

0 commit comments

Comments
 (0)