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个字符

21 行
244B

  1. #ifndef NESE_TIMER_H_
  2. #define NESE_TIMER_H_
  3. #include <stdint.h>
  4. #define US_PER_S (1000U * 1000U)
  5. typedef int64_t time_us;
  6. time_us time_now(void);
  7. void time_sleep(time_us);
  8. time_us time_sleep_until(time_us);
  9. #endif // NESE_TIME_H_