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.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

18 linhas
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. };