emu.h 511 B

12345678910111213141516171819202122232425262728293031
  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. };
  14. extern char romFileName[];
  15. extern int engineState;
  16. void emu_Init(void);
  17. void emu_Deinit(void);
  18. void emu_Loop(void);
  19. void emu_ResetGame(void);
  20. void emu_forcedFrame(void);
  21. void emu_msg_cb(const char *msg);