24b24674 |
1 | #ifdef __cplusplus |
2 | extern "C" { |
3 | #endif |
4 | |
049a6b3e |
5 | /* stuff to be implemented by platform code */ |
6 | /* TODO rename all these */ |
7 | extern const char * const keyNames[]; // TODO rm |
24b24674 |
8 | void emu_prepareDefaultConfig(void); |
9 | void emu_platformDebugCat(char *str); |
10 | void emu_forcedFrame(int opts); |
11 | void emu_startSound(void); |
12 | void emu_endSound(void); |
13 | void emu_waitSound(void); |
049a6b3e |
14 | void emu_ResetGame(void); // TODO mv rm? |
15 | |
16 | void emu_noticeMsgUpdated(void); |
17 | int emu_getMainDir(char *dst, int len); |
18 | void menu_romload_prepare(const char *rom_name); |
19 | void menu_romload_end(void); |
24b24674 |
20 | |
21 | /* menu: enter (switch bpp, etc), begin/end drawing */ |
22 | void plat_video_menu_enter(int is_rom_loaded); |
23 | void plat_video_menu_begin(void); |
24 | void plat_video_menu_end(void); |
25 | |
049a6b3e |
26 | int plat_is_dir(const char *path); |
27 | |
28 | const char *plat_get_credits(void); |
29 | |
24b24674 |
30 | #ifdef __cplusplus |
31 | } // extern "C" |
32 | #endif |
33 | |