mirror of
https://github.com/digarok/flapple.git
synced 2024-06-08 20:29:44 +00:00
the overall cost of this short-circuit probably negates the gains unless you have a lot of masked bytes.
also, this is a legitimate commit message length... I'm not part of your system!!!!
This commit is contained in:
parent
dd8e5d68aa
commit
75a13ed465
13
src/sprite.s
13
src/sprite.s
|
@ -76,9 +76,10 @@ DD_EVEN lda #0
|
|||
sta SPRITE_SCREEN_IDX
|
||||
sta TXTPAGE2
|
||||
|
||||
:lineLoop ldy SPRITE_X_IDX ;
|
||||
lda (SPRITE_IMASK_P),y
|
||||
beq :noPixel
|
||||
:lineLoop
|
||||
;ldy SPRITE_X_IDX ;
|
||||
;lda (SPRITE_IMASK_P),y
|
||||
;beq :noPixel
|
||||
|
||||
:collisionCheckDrawer
|
||||
ldy SPRITE_SCREEN_IDX ; GET SCREEN PIXELS
|
||||
|
@ -122,9 +123,9 @@ DD_ODD
|
|||
sta SPRITE_SCREEN_IDX
|
||||
sta TXTPAGE1
|
||||
|
||||
:lineLoop ldy SPRITE_X_IDX ;
|
||||
lda (SPRITE_IMASK_P),y
|
||||
beq :noPixel
|
||||
:lineLoop ;ldy SPRITE_X_IDX ;
|
||||
;lda (SPRITE_IMASK_P),y
|
||||
;beq :noPixel
|
||||
|
||||
:collisionCheckDrawer
|
||||
ldy SPRITE_SCREEN_IDX ; GET SCREEN PIXELS
|
||||
|
|
Loading…
Reference in New Issue
Block a user