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