Skip to content

Commit

Permalink
fix(db): fix bank text vram offset for fps display
Browse files Browse the repository at this point in the history
  • Loading branch information
alekmaul committed May 24, 2024
1 parent 3fd2131 commit c52383e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pvsneslib/source/videos.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ _sfctr1:
rep #$20
and #$00FF
clc
adc txt_vram_offset ; add text offset and put 16 bit value to VRAM
adc.l txt_vram_offset ; add text offset and put 16 bit value to VRAM
sta.l $2118

sep #$20
Expand All @@ -1208,7 +1208,7 @@ _sfctr1:
rep #$20
and #$00FF
clc
adc txt_vram_offset
adc.l txt_vram_offset
sta.l $2118 ; add text offset and put 16 bit value to VRAM

plb
Expand Down

0 comments on commit c52383e

Please sign in to comment.