1 #ifndef _PLATFORM_SDL_H_
2 #define _PLATFORM_SDL_H_
6 // Configuration and command line parsing
7 void S9xLoadConfig(int argc, const char ** argv);
9 char romFile[PATH_MAX];
10 char hacksFile[PATH_MAX];
15 bool enableSuperScope;
16 unsigned short joypad1Mapping[256];
17 unsigned char action[256];
22 void S9xVideoToggleFullscreen();
23 void S9xVideoOutputFocus(bool hasFocus);
26 void S9xInitAudioOutput();
27 void S9xDeinitAudioOutput();
28 void S9xAudioOutputEnable(bool enable);
32 #define kActionQuit (1U << 0)
33 #define kActionToggleFullscreen (1U << 1)
35 void S9xDoAction(unsigned char action);
38 const char * S9xFiletitle (const char * f);