X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fgp2x%2Fgp2x.h;h=b0861a94206c9fc9d93511bd2bd608ec50739b53;hb=cf65360c22e121053d152f611c9b966ccab9f4c2;hp=86f9d66228a053f84ee8d5718a96119c56db3068;hpb=b547bda76671cf9c99973dd3faad97804949ced3;p=fceu.git diff --git a/drivers/gp2x/gp2x.h b/drivers/gp2x/gp2x.h index 86f9d66..b0861a9 100644 --- a/drivers/gp2x/gp2x.h +++ b/drivers/gp2x/gp2x.h @@ -4,21 +4,23 @@ typedef struct { // gp2x specific int KeyBinds[32]; int JoyBinds[4][32]; - int turbo_rate_add; - int sound; + 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; + int accurate_mode; } DSETTINGS; extern DSETTINGS Settings; void gp2x_opt_setup(void); -void gp2x_cpuclock_update(void); +void gp2x_opt_update(void);