X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fgp2x%2Fgp2x.h;h=3e31af31589bc08f36a9db06f06ec025818d05ba;hb=c4980f9edd806014286d57aee1cbe5e73b803e46;hp=799e0cb0ae505f14886e72bdb4891d984ad28468;hpb=b2b95d2e0d1fd5e52d03c2152605b09b024c1d0e;p=fceu.git diff --git a/drivers/gp2x/gp2x.h b/drivers/gp2x/gp2x.h index 799e0cb..3e31af3 100644 --- a/drivers/gp2x/gp2x.h +++ b/drivers/gp2x/gp2x.h @@ -1,20 +1,24 @@ +#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; } DSETTINGS; extern DSETTINGS Settings; void gp2x_opt_setup(void); +void gp2x_cpuclock_gamma_update(void);