Skip to content

Commit

Permalink
fix(mode7): limit calculation of sin table with +64 value
Browse files Browse the repository at this point in the history
  • Loading branch information
alekmaul committed Feb 9, 2024
1 parent 4b07935 commit 2bc3d1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pvsneslib/source/videos.asm
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,7 @@ setMode7Rot:
clc
adc.b tcc__r1
adc #64
and #$00ff ; to avoid jumping outside the table
sta tcc__r0
lda #:m7sincos
sta tcc__r0h
Expand Down

0 comments on commit 2bc3d1d

Please sign in to comment.