X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fgp2x%2Fgp2x.h;h=20cadd544fdb83caf83ce26822a4522e9e6bfd82;hb=892b1f6c68346fa00dc3029ab8bd31178e730509;hp=799e0cb0ae505f14886e72bdb4891d984ad28468;hpb=b2b95d2e0d1fd5e52d03c2152605b09b024c1d0e;p=fceu.git diff --git a/drivers/gp2x/gp2x.h b/drivers/gp2x/gp2x.h index 799e0cb..20cadd5 100644 --- a/drivers/gp2x/gp2x.h +++ b/drivers/gp2x/gp2x.h @@ -1,20 +1,25 @@ +#define GP2X_PORT_VERSION "0.4" + typedef struct { - int sound; - int joy[4]; - int joyAMap[4][2]; - int joyBMap[4][4]; // gp2x specific + int KeyBinds[32]; + int JoyBinds[4][32]; + int turbo_rate_add; // 8.24 int + int sound_rate; // in Hz int showfps; int scaling; // unscaled=0, hw_hor, hw_hor_vert, sw_hor int frameskip; // -1 ~ auto, >=0 ~ count int sstate_confirm; - int region_force; // 0 ~ off, 1 ~ PAL, 2 ~ NTSC + int region_force; // 0 ~ off, 1 ~ NTSC, 2 ~ PAL int cpuclock; int mmuhack; int ramtimings; + int gamma; + int perfect_vsync; } DSETTINGS; extern DSETTINGS Settings; void gp2x_opt_setup(void); +void gp2x_opt_update(void);