refactoring for Wiz port; random cleanups
[libpicofe.git] / gp2x / soc.h
1 typedef enum {
2         SOCID_MMSP2 = 1,
3         SOCID_POLLUX,
4 } gp2x_soc_t;
5
6 extern gp2x_soc_t gp2x_soc;
7
8 gp2x_soc_t soc_detect(void);
9
10 void mmsp2_init(void);
11 void mmsp2_finish(void);
12
13 void pollux_init(void);
14 void pollux_finish(void);
15
16 void gp2x_video_flip(void);
17 void gp2x_video_flip2(void);
18 void gp2x_video_changemode_ll(int bpp);
19 void gp2x_video_setpalette(int *pal, int len);
20 void gp2x_video_RGB_setscaling(int ln_offs, int W, int H);
21 void gp2x_video_wait_vsync(void);