used unsafe add to improve char_draw performance
This commit is contained in:
parent
c1a79b32b7
commit
465996a2e6
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ calculate_screen_position:
|
||||||
AND Y_pos ;; offset to add
|
AND Y_pos ;; offset to add
|
||||||
CLC
|
CLC
|
||||||
ADC X_pos
|
ADC X_pos
|
||||||
Add_16 screen_position, screen_position + 1, A, #$00
|
Add_16 screen_position, screen_position + 1, A, #$00, !
|
||||||
|
|
||||||
move_data:
|
move_data:
|
||||||
;; One character is 8 byte, move these bytes to screen
|
;; One character is 8 byte, move these bytes to screen
|
||||||
|
|
Loading…
Add table
Reference in a new issue