some leaks fixed
[fceu.git] / drivers / gp2x / gp2x.h
1 #define GP2X_PORT_VERSION "0.4"
2
3 typedef struct {
4         // gp2x specific
5         int KeyBinds[32];
6         int JoyBinds[4][32];
7         int turbo_rate_add;     // 8.24 int
8         int sound_rate;         // in Hz
9         int showfps;
10         int scaling;            // unscaled=0, hw_hor, hw_hor_vert, sw_hor
11         int frameskip;          // -1 ~ auto, >=0 ~ count
12         int sstate_confirm;
13         int region_force;       // 0 ~ off, 1 ~ NTSC, 2 ~ PAL
14         int cpuclock;
15         int mmuhack;
16         int ramtimings;
17         int gamma;
18 } DSETTINGS;
19
20 extern DSETTINGS Settings;
21
22 void gp2x_opt_setup(void);
23 void gp2x_cpuclock_gamma_update(void);
24