used unsafe add to improve char_draw performance

This commit is contained in:
hugova 2025-05-15 17:32:42 +02:00
parent c1a79b32b7
commit 465996a2e6

View file

@ -48,7 +48,7 @@ calculate_screen_position:
AND Y_pos ;; offset to add
CLC
ADC X_pos
Add_16 screen_position, screen_position + 1, A, #$00
Add_16 screen_position, screen_position + 1, A, #$00, !
move_data:
;; One character is 8 byte, move these bytes to screen