X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fplat_gp2x.h;h=f3fecdb2c36c8217f16cd805fe4f3d837d1c1c82;hb=HEAD;hp=5a59452dadd857edc53ca9fdb39c9a8eaf10d31e;hpb=fa5e045bdc817112c1abf19e65e2d3481d51c48a;p=libpicofe.git diff --git a/gp2x/plat_gp2x.h b/gp2x/plat_gp2x.h index 5a59452..f3fecdb 100644 --- a/gp2x/plat_gp2x.h +++ b/gp2x/plat_gp2x.h @@ -3,13 +3,15 @@ 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); +/* misc */ +enum { + GP2X_DEV_GP2X = 1, + GP2X_DEV_WIZ, + GP2X_DEV_CAANOO, +}; +extern int gp2x_dev_id; + +unsigned int plat_get_ticks_ms_good(void); +unsigned int plat_get_ticks_us_good(void); #endif