AndreaOrru / LaiNES

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

Change Invalid OPcodes to a print statement + NOP #29

Closed kraln closed 7 years ago

kraln commented 7 years ago

Some games (such as Puzznic) use invalid opcodes--there's a ton of them documented in detail here:

Note that most of the opcodes used are NOPs, so I default to NOP + warning. Proper emulation of all of the illegal opcodes is probably warranted for full compatibility.

This fixes #26