uncommited code for 151 release (PSP suspend, file browser, etc)
[picodrive.git] / platform / psp / emu.h
CommitLineData
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
9enum 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,
2b02d6e5 18 PGS_SuspendWake,
1820b5a7 19};
20
21extern char romFileName[];
2b02d6e5 22extern int engineState, engineStateSuspend;
1820b5a7 23
24
25void emu_Init(void);
26void emu_Deinit(void);
27void emu_Loop(void);
28void emu_ResetGame(void);
ea08c296 29void emu_HandleResume(void);
1820b5a7 30
8ab3e3c1 31void emu_msg_cb(const char *msg);
1820b5a7 32
b542be46 33// actually comes from Pico/Misc_amips.s
34void memset32_uncached(int *dest, int c, int count);
1820b5a7 35