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.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

19 行
422B

  1. #ifndef NESE_SAVE_H_
  2. #define NESE_SAVE_H_
  3. #include "nes.h"
  4. int load_sram(nes_cart* cart, const char* filename);
  5. int save_sram(const nes_cart* cart, const char* filename);
  6. int state_size(const nes*);
  7. int state_read(nes*, const void* mem, int size);
  8. int state_write(const nes*, void* mem, int size);
  9. int load_state(nes*, const char* filename);
  10. int save_state(const nes*, const char* filename);
  11. #endif // NESE_SAVE_H_