X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fplat_gp2x.h;fp=gp2x%2Fgp2x.h;h=5a59452dadd857edc53ca9fdb39c9a8eaf10d31e;hb=fa5e045bdc817112c1abf19e65e2d3481d51c48a;hp=3f6dadd864126468ac012a1d1b3958bc0a6460d9;hpb=d572cbad9886a04f8c51edb825dc6aaec9b02e23;p=libpicofe.git diff --git a/gp2x/gp2x.h b/gp2x/plat_gp2x.h similarity index 79% rename from gp2x/gp2x.h rename to gp2x/plat_gp2x.h index 3f6dadd..5a59452 100644 --- a/gp2x/gp2x.h +++ b/gp2x/plat_gp2x.h @@ -1,12 +1,15 @@ -#ifndef __GP2X_H__ -#define __GP2X_H__ - -/* video */ -void gp2x_video_changemode(int bpp); -void gp2x_memcpy_all_buffers(void *data, int offset, int len); -void gp2x_memset_all_buffers(int offset, int byte, int len); - -/* input */ -int gp2x_touchpad_read(int *x, int *y); - -#endif +#ifndef __GP2X_H__ +#define __GP2X_H__ + +extern int default_cpu_clock; + +/* video */ +void gp2x_video_changemode(int bpp); +void gp2x_memcpy_all_buffers(void *data, int offset, int len); +void gp2x_memset_all_buffers(int offset, int byte, int len); +void gp2x_make_fb_bufferable(int yes); + +/* input */ +int gp2x_touchpad_read(int *x, int *y); + +#endif