menu and controls wip..
[fceu.git] / drivers / gp2x / gp2x.h
index 799e0cb..86f9d66 100644 (file)
@@ -1,9 +1,11 @@
+#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;
+       int sound;
        int showfps;
        int scaling;            // unscaled=0, hw_hor, hw_hor_vert, sw_hor
        int frameskip;          // -1 ~ auto, >=0 ~ count
@@ -12,9 +14,11 @@ typedef struct {
        int cpuclock;
        int mmuhack;
        int ramtimings;
+       int gamma;
 } DSETTINGS;
 
 extern DSETTINGS Settings;
 
 void gp2x_opt_setup(void);
+void gp2x_cpuclock_update(void);