emu.h 651 B

1234567891011121314151617181920212223242526272829303132333435
  1. // (c) Copyright 2006-2007 notaz, All rights reserved.
  2. // Free for non-commercial use.
  3. // For commercial use, separate licencing terms must be obtained.
  4. // engine states
  5. enum TPicoGameState {
  6. PGS_Paused = 1,
  7. PGS_Running,
  8. PGS_Quit,
  9. PGS_KeyConfig,
  10. PGS_ReloadRom,
  11. PGS_Menu,
  12. PGS_RestartRun,
  13. PGS_Suspending,
  14. };
  15. extern char romFileName[];
  16. extern int engineState;
  17. void emu_Init(void);
  18. void emu_Deinit(void);
  19. void emu_Loop(void);
  20. void emu_ResetGame(void);
  21. void emu_forcedFrame(void);
  22. void emu_HandleResume(void);
  23. void emu_msg_cb(const char *msg);
  24. // actually comes from Pico/Misc_amips.s
  25. void memset32_uncached(int *dest, int c, int count);