Skip to content

Commit

Permalink
Small optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperDisk committed Jan 1, 2025
1 parent 10f6551 commit db3f5c3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hUGEDriver.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1817,8 +1817,11 @@ ENDC

ld a, [row]
and 3
ld hl, ticks_per_row
add_a_to_r16 hl
add LOW(ticks_per_row)
ld l, a
adc HIGH(ticks_per_row)
sub l
ld h, a
ld b, [hl]

ld hl, counter
Expand Down

0 comments on commit db3f5c3

Please sign in to comment.