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