embed build date to one of debug screens
[libpicofe.git] / common / plat.h
... / ...
CommitLineData
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5/* stuff to be implemented by platform code */
6/* TODO rename all these */
7extern const char * const keyNames[]; // TODO rm
8void emu_prepareDefaultConfig(void);
9void emu_platformDebugCat(char *str);
10void emu_forcedFrame(int opts);
11void emu_startSound(void);
12void emu_endSound(void);
13void emu_waitSound(void);
14void emu_ResetGame(void); // TODO mv rm?
15
16void emu_noticeMsgUpdated(void);
17int emu_getMainDir(char *dst, int len);
18void menu_romload_prepare(const char *rom_name);
19void menu_romload_end(void);
20
21/* menu: enter (switch bpp, etc), begin/end drawing */
22void plat_video_menu_enter(int is_rom_loaded);
23void plat_video_menu_begin(void);
24void plat_video_menu_end(void);
25
26int plat_is_dir(const char *path);
27int plat_wait_event(int *fds_hnds, int count, int timeout_ms);
28void plat_sleep_ms(int ms);
29
30/* ms counter, to be used for time diff */
31unsigned int plat_get_ticks_ms(void);
32
33const char *plat_get_credits(void);
34
35#ifdef __cplusplus
36} // extern "C"
37#endif
38