diff --git a/src/blitter/Tiles.s b/src/blitter/Tiles.s index 13cb8d5..925584b 100644 --- a/src/blitter/Tiles.s +++ b/src/blitter/Tiles.s @@ -37,12 +37,13 @@ CopyTile lda Col2CodeOffset,x adc BTableLow,y tay + iny ; +1 to move past to opcode to the operand plb ; set the bank pla ; pop the tile ID jsr _CopyTile - plb ; restre the data bank and return + plb ; restore the data bank and return rts ; _CopyTile @@ -140,3 +141,6 @@ CopyTileLinear ldal tiledata+0,x + + +