fix attribute in nmi

This commit is contained in:
Safyrus 2022-04-02 18:50:09 +02:00
parent 20cc7a9c04
commit ebdc99b941
1 changed files with 2 additions and 2 deletions

View File

@ -126,13 +126,13 @@ NMI:
LDX #$00 LDX #$00
@attribute_loop: @attribute_loop:
; send 1 byte ; send 1 byte
INX
LDA attributes, X LDA attributes, X
STA PPU_DATA STA PPU_DATA
INX
; send another byte ; send another byte
INX
LDA attributes, X LDA attributes, X
STA PPU_DATA STA PPU_DATA
INX
; loop ; loop
CPX #$40 CPX #$40
BNE @attribute_loop BNE @attribute_loop