mirror of
https://github.com/lscharen/iigs-game-engine.git
synced 2024-06-13 19:29:30 +00:00
Fix plx/pla ordering in tile dispatcher
This commit is contained in:
parent
1492ac3b36
commit
2540359f60
|
@ -480,65 +480,66 @@ CopyTileMToDyn
|
||||||
|
|
||||||
; This should never be called, because empty control value should be fast-pathed
|
; This should never be called, because empty control value should be fast-pathed
|
||||||
solid
|
solid
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
rts
|
plx
|
||||||
|
brl CopyTileMem
|
||||||
|
|
||||||
solid_hflip
|
solid_hflip
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
clc
|
clc
|
||||||
adc #64 ; Advance to the flipped version
|
adc #64 ; Advance to the flipped version
|
||||||
|
plx
|
||||||
brl CopyTileMem
|
brl CopyTileMem
|
||||||
|
|
||||||
solid_vflip
|
solid_vflip
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
|
plx
|
||||||
brl CopyTileMemV
|
brl CopyTileMemV
|
||||||
|
|
||||||
solid_hvflip
|
solid_hvflip
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
clc
|
clc
|
||||||
adc #64 ; Advance to the flipped version
|
adc #64 ; Advance to the flipped version
|
||||||
|
plx
|
||||||
brl CopyTileMemV
|
brl CopyTileMemV
|
||||||
|
|
||||||
masked
|
masked
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
|
plx
|
||||||
brl CopyTileMemM
|
brl CopyTileMemM
|
||||||
|
|
||||||
masked_hflip
|
masked_hflip
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
clc
|
clc
|
||||||
adc #64 ; Advance to the flipped version
|
adc #64 ; Advance to the flipped version
|
||||||
|
plx
|
||||||
brl CopyTileMemM
|
brl CopyTileMemM
|
||||||
|
|
||||||
masked_vflip
|
masked_vflip
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
|
plx
|
||||||
brl CopyTileMemMV
|
brl CopyTileMemMV
|
||||||
|
|
||||||
masked_hvflip
|
masked_hvflip
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
clc
|
clc
|
||||||
adc #64 ; Advance to the flipped version
|
adc #64 ; Advance to the flipped version
|
||||||
|
plx
|
||||||
brl CopyTileMemMV
|
brl CopyTileMemMV
|
||||||
|
|
||||||
dynamic
|
dynamic
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
asl
|
asl
|
||||||
asl
|
asl
|
||||||
xba ; Undo the x128 we just need x2
|
xba ; Undo the x128 we just need x2
|
||||||
|
plx
|
||||||
brl DynamicTile
|
brl DynamicTile
|
||||||
|
|
||||||
dyn_masked
|
dyn_masked
|
||||||
plx
|
|
||||||
pla
|
pla
|
||||||
|
plx
|
||||||
rts
|
rts
|
||||||
|
|
||||||
; CopyTile
|
; CopyTile
|
||||||
;
|
;
|
||||||
; A low-level function that copies 8x8 tiles directly into the code field space.
|
; A low-level function that copies 8x8 tiles directly into the code field space.
|
||||||
|
@ -598,50 +599,3 @@ CopyTile
|
||||||
plb ; restore the data bank and return
|
plb ; restore the data bank and return
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user