mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-11-26 07:49:17 +00:00
Correctly initialize the screen size
This commit is contained in:
parent
5a0e0e447e
commit
e25b5b4d7f
@ -4,13 +4,15 @@ InitGraphics
|
|||||||
jsr _ShadowOn
|
jsr _ShadowOn
|
||||||
jsr _GrafOn
|
jsr _GrafOn
|
||||||
lda #0
|
lda #0
|
||||||
jsr _ClearToColor
|
|
||||||
lda #0
|
|
||||||
jsr _SetSCBs
|
jsr _SetSCBs
|
||||||
ldx #DefaultPalette
|
ldx #DefaultPalette
|
||||||
lda #0
|
lda #0
|
||||||
jsr _SetPalette
|
jsr _SetPalette
|
||||||
|
|
||||||
|
ldx #SHR_LINE_WIDTH
|
||||||
|
ldy #SHR_SCREEN_HEIGHT
|
||||||
|
jsr _SetScreenMode
|
||||||
|
|
||||||
jsr _InitBG0 ; Initialize the background layer
|
jsr _InitBG0 ; Initialize the background layer
|
||||||
|
|
||||||
lda EngineMode
|
lda EngineMode
|
||||||
|
Loading…
Reference in New Issue
Block a user