Skip to content

Commit 6010dc8

Browse files
Merge pull request #51 from zohassadar/mmc1reset
independent mmc1 reset
2 parents 318c0a5 + 031a1ce commit 6010dc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/io.asm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ MMC5_CHR_BANK1 := $5127
6262

6363
.macro RESET_MMC1
6464
.if INES_MAPPER = 1
65-
inc $8000 ; checkRegion
65+
: inc :- ; increments inc ($aa), writing a negative value to prg
66+
; https://www.nesdev.org/wiki/MMC1#Reset
6667
.endif
6768
.endmacro

0 commit comments

Comments
 (0)