Skip to content

Commit c54beb9

Browse files
committed
stack+5 returned wrong byte, since Y already pulled from stack
1 parent 11159af commit c54beb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nmi/nmi.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ nmi: pha
3434
pla
3535
tay
3636
tsx
37-
lda stack+5,x
37+
lda stack+4,x
3838
sta nmiReturnAddr
3939
pla
4040
tax

0 commit comments

Comments
 (0)