X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=platform%2Fgp2x%2Fplat_gp2x.h;h=c77e061fc79ddbe9196fae682bdcc8dcc70876a9;hb=f62850ba3ae4170295a4a3cdea38d1806d99c474;hp=5a59452dadd857edc53ca9fdb39c9a8eaf10d31e;hpb=0d9bf4fcda2bf375a1fabd4a42e244701b8a185f;p=picodrive.git diff --git a/platform/gp2x/plat_gp2x.h b/platform/gp2x/plat_gp2x.h index 5a59452..c77e061 100644 --- a/platform/gp2x/plat_gp2x.h +++ b/platform/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