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개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
311B

  1. #ifndef NESE_COMPAT_IMPL_H_
  2. #define NESE_COMPAT_IMPL_H_
  3. #ifdef _WIN32
  4. #include <direct.h>
  5. int mkdir_impl(const char* dir) {
  6. return _mkdir(dir);
  7. }
  8. #else // !_WIN32
  9. #include <sys/stat.h>
  10. int mkdir_impl(const char* dir) {
  11. return mkdir(dir, 0777);
  12. }
  13. #endif // _WIN32
  14. #endif // NESE_COMPAT_IMPL_H_