Fix dumb initialization bug in sprite plane

This commit is contained in:
Lucas Scharenbroich 2021-10-28 21:52:48 -05:00
parent 4e46a6af85
commit 7ec1b8bc29

View File

@ -12,14 +12,16 @@ InitSprites
:loop1 stal spritedata,x
dex
dex
bpl :loop1
cpx #$FFFE
bne :loop1
ldx #$FFFE
lda #$FFFF
:loop2 stal spritemask,x
dex
dex
bpl :loop2
cpx #$FFFE
bne :loop2
rts