720ee7f6 |
1 | \r |
2 | #ifndef __GP2X_H__\r |
3 | #define __GP2X_H__\r |
4 | \r |
5 | \r |
6 | void gp2x_init(void);\r |
7 | void gp2x_deinit(void);\r |
8 | \r |
9 | /* video */\r |
10 | void gp2x_video_flip(void);\r |
e5d315a5 |
11 | void gp2x_video_flip2(void);\r |
720ee7f6 |
12 | void gp2x_video_changemode(int bpp);\r |
e5d315a5 |
13 | void gp2x_video_changemode2(int bpp);\r |
720ee7f6 |
14 | void gp2x_video_setpalette(int *pal, int len);\r |
79cad122 |
15 | void gp2x_video_RGB_setscaling(int ln_offs, int W, int H);\r |
720ee7f6 |
16 | void gp2x_video_wait_vsync(void);\r |
13059a60 |
17 | void gp2x_video_flush_cache(void);\r |
4ffd2858 |
18 | void gp2x_memcpy_buffers(int buffers, void *data, int offset, int len);\r |
720ee7f6 |
19 | void gp2x_memcpy_all_buffers(void *data, int offset, int len);\r |
20 | void gp2x_memset_all_buffers(int offset, int byte, int len);\r |
e5d315a5 |
21 | void gp2x_pd_clone_buffer2(void);\r |
720ee7f6 |
22 | \r |
3f2aaff2 |
23 | /* input */\r |
3f2aaff2 |
24 | int gp2x_touchpad_read(int *x, int *y);\r |
720ee7f6 |
25 | \r |
26 | /* 940 core */\r |
27 | void Pause940(int yes);\r |
8dfb9fd5 |
28 | void Reset940(int yes, int bank);\r |
720ee7f6 |
29 | \r |
30 | \r |
720ee7f6 |
31 | extern int memdev;\r |
32 | \r |
33 | \r |
720ee7f6 |
34 | #endif\r |