psp code updated for latest base, black level
[libpicofe.git] / psp / emu.h
... / ...
CommitLineData
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,
17 PGS_Suspending,
18};
19
20extern char romFileName[];
21extern int engineState;
22
23
24void emu_Init(void);
25void emu_Deinit(void);
26void emu_Loop(void);
27void emu_ResetGame(void);
28void emu_forcedFrame(void);
29void emu_HandleResume(void);
30
31void emu_msg_cb(const char *msg);
32
33// actually comes from Pico/Misc_amips.s
34void memset32_uncached(int *dest, int c, int count);
35