X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fplat_gp2x.h;fp=gp2x%2Fplat_gp2x.h;h=c77e061fc79ddbe9196fae682bdcc8dcc70876a9;hb=b6072c177f57cdcb32cfd5eee53b7c178f89c5d3;hp=5a59452dadd857edc53ca9fdb39c9a8eaf10d31e;hpb=c4046e6e067c0c7d7a09d9eb8518993be320d84b;p=libpicofe.git diff --git a/gp2x/plat_gp2x.h b/gp2x/plat_gp2x.h index 5a59452..c77e061 100644 --- a/gp2x/plat_gp2x.h +++ b/gp2x/plat_gp2x.h @@ -12,4 +12,18 @@ 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; +extern int gp2x_current_bpp; + +unsigned int plat_get_ticks_ms_good(void); +unsigned int plat_get_ticks_us_good(void); + +void gp2x_menu_init(void); + #endif