Remove dead variable

This commit is contained in:
Lucas Scharenbroich 2023-06-17 12:28:53 -05:00
parent ae2cb8f71d
commit 95490b4996

View File

@ -336,7 +336,7 @@ RenderFrame
; Get the current global coordinates ; Get the current global coordinates
sei sei
lda nt_queue_end lda nt_queue_end ; Freeze the end of the queue that contains updates up until "now"
sta CurrNTQueueEnd sta CurrNTQueueEnd
lda ROMScrollEdge ; This is set in the VBL IRQ lda ROMScrollEdge ; This is set in the VBL IRQ
sta CurrScrollEdge ; Freeze it, then we can let the IRQs continue sta CurrScrollEdge ; Freeze it, then we can let the IRQs continue
@ -527,9 +527,9 @@ ClearNTQueue
DrainNTQueue DrainNTQueue
:GTELeftEdge equ Tmp3 :GTELeftEdge equ Tmp3
:PPUAddr equ Tmp4 :PPUAddr equ Tmp4
:Count equ Tmp5 ;:Count equ Tmp5
stz :Count ; stz :Count
; Prep item -- get the logical block of the left edge of the scroll window ; Prep item -- get the logical block of the left edge of the scroll window
@ -567,7 +567,7 @@ DrainNTQueue
:set_tile :set_tile
; Now we have the relative position from the left edge of the tile. Add the origin ; Now we have the relative position from the left edge of the tile. Add the origin
; tile to it (uless we're in rows 0 or 1) ; tile to it (unless we're in rows 0 or 1)
txa txa
cpy #2 cpy #2
@ -591,7 +591,7 @@ DrainNTQueue
sta 1,s sta 1,s
_GTESetTile _GTESetTile
inc :Count ; inc :Count
brl :skip brl :skip
@ -871,9 +871,6 @@ CopyStatus
; X = number of columns to copy ; X = number of columns to copy
; Y = number of GTE tiles to offset ; Y = number of GTE tiles to offset
CopyNametable CopyNametable
; cmp #5
; bcc *+4
; brk $88
sta Tmp2 sta Tmp2
bit #$0020 ; Is it >32? bit #$0020 ; Is it >32?
beq *+5 beq *+5