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.

17 lines
426B

  1. #ifndef NESE_FILE_H_
  2. #define NESE_FILE_H_
  3. // Return pointer to filename omitting path
  4. const char* basename(const char* filename);
  5. int make_filename(char* filename, int max_len,
  6. const char* orig_name,
  7. const char* subdir, const char* ext);
  8. int write_file(const char* filename, const void* data, int len);
  9. int read_file(const char* filename, void* data, int len);
  10. #endif // NESE_FILE_H_