mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-11-26 07:49:17 +00:00
Fix dumb initialization bug in sprite plane
This commit is contained in:
parent
4e46a6af85
commit
7ec1b8bc29
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user