| 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 | int perfect_vsync; |
| 19 | int accurate_mode; |
| 20 | } DSETTINGS; |
| 21 | |
| 22 | extern DSETTINGS Settings; |
| 23 | |
| 24 | void gp2x_opt_setup(void); |
| 25 | void gp2x_opt_update(void); |
| 26 | |