more menu work, scalers, sound
[fceu.git] / drivers / gp2x / gp2x.h
CommitLineData
b547bda7 1#define GP2X_PORT_VERSION "0.4"
2
35868d35 3typedef struct {
b2b95d2e 4 // gp2x specific
b547bda7 5 int KeyBinds[32];
6 int JoyBinds[4][32];
989672f4 7 int turbo_rate_add; // 8.24 int
8 int sound_rate; // in Hz
b2b95d2e 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;
989672f4 13 int region_force; // 0 ~ off, 1 ~ NTSC, 2 ~ PAL
b2b95d2e 14 int cpuclock;
15 int mmuhack;
16 int ramtimings;
b547bda7 17 int gamma;
35868d35 18} DSETTINGS;
19
20extern DSETTINGS Settings;
21
b2b95d2e 22void gp2x_opt_setup(void);
989672f4 23void gp2x_cpuclock_gamma_update(void);
35868d35 24