| 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 | PGS_Suspending, |
| 18 | PGS_SuspendWake, |
| 19 | }; |
| 20 | |
| 21 | extern char romFileName[]; |
| 22 | extern int engineState, engineStateSuspend; |
| 23 | |
| 24 | |
| 25 | void emu_Init(void); |
| 26 | void emu_Deinit(void); |
| 27 | void emu_Loop(void); |
| 28 | void emu_ResetGame(void); |
| 29 | void emu_HandleResume(void); |
| 30 | |
| 31 | void emu_msg_cb(const char *msg); |
| 32 | |
| 33 | // actually comes from Pico/Misc_amips.s |
| 34 | void memset32_uncached(int *dest, int c, int count); |
| 35 | |