19 GP2X_VOL_UP = 1 << 16,
20 GP2X_VOL_DOWN = 1 << 17,
23 GP2X_VOL_DOWN = 1 << 22,
24 GP2X_VOL_UP = 1 << 23,
27 GP2X_VOL_MIDDLE = (1 << 24), // fake, menu enter
30 void gpsp_plat_init(void);
31 void gpsp_plat_quit(void);
33 u32 gpsp_plat_joystick_read(void);
34 u32 gpsp_plat_buttons_to_cursor(u32 buttons);
36 extern u32 button_plat_mask_to_config[];
38 void gp2x_sound_volume(u32 volume_up);
41 void set_FCLK(u32 MHZ);
43 void upscale_aspect(u16 *dst, u16 *src);
46 extern void *gpsp_gp2x_screen;
47 void fb_use_buffers(int count);
48 void pollux_video_flip();
49 void wiz_lcd_set_portrait(int y);
50 u32 wiz_load_gamepak(char *name);
52 void do_rotated_blit(void *dst, void *linesx4, u32 y);
53 void upscale_aspect_row(void *dst, void *linesx3, u32 row);