NESe (pronounced "Nessie") is a NES emulator based on the e6502 emulator, also written in C with a focus on speed and portability for use on embedded platforms, especially ARM.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 line
349B

  1. #include "mapper.h"
  2. extern nes_mapper mapper_nrom;
  3. extern nes_mapper mapper_mmc1;
  4. extern nes_mapper mapper_uxrom;
  5. extern nes_mapper mapper_cnrom;
  6. extern nes_mapper mapper_mmc3;
  7. nes_mapper* nes_mappers[256] = {
  8. [ 0] = &mapper_nrom,
  9. [ 1] = &mapper_mmc1,
  10. [ 2] = &mapper_uxrom,
  11. [ 3] = &mapper_cnrom,
  12. [ 4] = &mapper_mmc3,
  13. };