mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-06-15 17:29:39 +00:00
Fix H+V sprite stamp renderer
This commit is contained in:
parent
388470c133
commit
227643d7df
|
@ -261,7 +261,7 @@ draw_16x16hv
|
||||||
tax
|
tax
|
||||||
tya
|
tya
|
||||||
pha
|
pha
|
||||||
adc #128+{128*32} ; Bottom-right source to top-left
|
adc #{128*{32+1}}+64 ; Bottom-right source to top-left
|
||||||
tay
|
tay
|
||||||
jsr _DrawTile8x8V
|
jsr _DrawTile8x8V
|
||||||
|
|
||||||
|
@ -269,7 +269,7 @@ draw_16x16hv
|
||||||
adc #4
|
adc #4
|
||||||
tax
|
tax
|
||||||
lda 1,s
|
lda 1,s
|
||||||
adc #{128*32}
|
adc #{128*32}+64
|
||||||
tay
|
tay
|
||||||
jsr _DrawTile8x8V
|
jsr _DrawTile8x8V
|
||||||
|
|
||||||
|
@ -277,14 +277,16 @@ draw_16x16hv
|
||||||
adc #{8*SPRITE_PLANE_SPAN}-4
|
adc #{8*SPRITE_PLANE_SPAN}-4
|
||||||
tax
|
tax
|
||||||
lda 1,s
|
lda 1,s
|
||||||
adc #128
|
adc #128+64
|
||||||
tay
|
tay
|
||||||
jsr _DrawTile8x8V
|
jsr _DrawTile8x8V
|
||||||
|
|
||||||
txa
|
txa
|
||||||
adc #4
|
adc #4
|
||||||
tax
|
tax
|
||||||
ply
|
pla
|
||||||
|
adc #64
|
||||||
|
tay
|
||||||
jmp _DrawTile8x8V
|
jmp _DrawTile8x8V
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user