slightly better z80 vdp reads
[picodrive.git] / platform / gp2x / plat.h
CommitLineData
75a30842 1extern void *gp2x_screens[4];
2extern int gp2x_current_bpp;
3
4/* SoC specific functions */
5extern void (*gp2x_video_flip)(void);
6extern void (*gp2x_video_flip2)(void);
7/* negative bpp means rotated mode (for Wiz) */
31f944ea 8extern void (*gp2x_video_changemode_ll)(int bpp, int is_pal);
75a30842 9extern void (*gp2x_video_setpalette)(int *pal, int len);
10extern void (*gp2x_video_RGB_setscaling)(int ln_offs, int W, int H);
11extern void (*gp2x_video_wait_vsync)(void);
12
13/* ??? */
31f944ea 14void gp2x_video_changemode(int bpp, int is_pal);
75a30842 15void gp2x_memcpy_all_buffers(void *data, int offset, int len);
16void gp2x_memset_all_buffers(int offset, int byte, int len);
17
18/* vid_*.c */
19void vid_mmsp2_init(void);
20void vid_mmsp2_finish(void);
21
22void vid_pollux_init();
23void vid_pollux_finish();
24
25void gp2x_menu_init(void);