AndreaOrru / LaiNES

Cycle-accurate NES emulator in ~1000 lines of code
BSD 2-Clause "Simplified" License
1.49k stars 122 forks source link

Fix mirroring for Mapper 002 and 003 #18

Closed kraln closed 7 years ago

kraln commented 7 years ago

I was reading the wrong byte in the header to determine the mirroring for these mappers, which have hard-wired (soldered) mirroring. Reading the correct byte unsurprisingly corrects issues.

Tested: Contra, Castlevania, Duck Tales

kraln commented 7 years ago

Can drop the compatibility notes for Contra and Castlevania from the readme as well.

AndreaOrru commented 7 years ago

Yep, done.