gl: clear w, h on reinit
[libpicofe.git] / gp2x / plat_gp2x.h
index 5a59452..f3fecdb 100644 (file)
@@ -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