X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=drivers%2Fcommon%2Fsettings.h;fp=drivers%2Fgp2x%2Fgp2x.h;h=536b5e348b3351ba03db1f6c6fba544dbb17eade;hp=b0861a94206c9fc9d93511bd2bd608ec50739b53;hb=4a2a617ac879a95babe3b8a822188b71e9769ba4;hpb=396c448eb538587248ddbf586a90371c71b48183 diff --git a/drivers/gp2x/gp2x.h b/drivers/common/settings.h similarity index 83% rename from drivers/gp2x/gp2x.h rename to drivers/common/settings.h index b0861a9..536b5e3 100644 --- a/drivers/gp2x/gp2x.h +++ b/drivers/common/settings.h @@ -1,26 +1,21 @@ -#define GP2X_PORT_VERSION "0.4" - typedef struct { - // 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 ~ NTSC, 2 ~ PAL + int gamma; + int accurate_mode; + // gp2x specific + int KeyBinds[32]; + int JoyBinds[4][32]; + int scaling; // unscaled=0, hw_hor, hw_hor_vert, sw_hor 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_opt_update(void); -