Correctly initialize the screen size

This commit is contained in:
Lucas Scharenbroich 2022-07-27 23:42:26 -05:00
parent 5a0e0e447e
commit e25b5b4d7f

View File

@ -4,13 +4,15 @@ InitGraphics
jsr _ShadowOn
jsr _GrafOn
lda #0
jsr _ClearToColor
lda #0
jsr _SetSCBs
ldx #DefaultPalette
lda #0
jsr _SetPalette
ldx #SHR_LINE_WIDTH
ldy #SHR_SCREEN_HEIGHT
jsr _SetScreenMode
jsr _InitBG0 ; Initialize the background layer
lda EngineMode