X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fgp2x.h;h=97b8d3ca73542651ee45d40b85f332a31578ce36;hb=eb3668fc5dab138073cd4844208ac05b94086a4a;hp=9218704d21867ad029460b18f159f5caafb1145d;hpb=43c24b301dc8c0c5952e1d22bad865f4304d01f8;p=gpsp.git diff --git a/gp2x/gp2x.h b/gp2x/gp2x.h index 9218704..97b8d3c 100644 --- a/gp2x/gp2x.h +++ b/gp2x/gp2x.h @@ -33,7 +33,8 @@ void gpsp_plat_quit(void); u32 gpsp_plat_joystick_read(void); u32 gpsp_plat_buttons_to_cursor(u32 buttons); -extern u32 button_plat_mask_to_config[]; +#define PLAT_BUTTON_COUNT 16 +extern u32 button_plat_mask_to_config[PLAT_BUTTON_COUNT]; void gp2x_sound_volume(u32 volume_up); void gp2x_quit();