initial pandora port, with hardware scaling and stuff
[gpsp.git] / pandora / pnd.h
diff --git a/pandora/pnd.h b/pandora/pnd.h
new file mode 100644 (file)
index 0000000..2161756
--- /dev/null
@@ -0,0 +1,12 @@
+void gpsp_plat_init(void);
+void gpsp_plat_quit(void);
+
+u32 gpsp_plat_joystick_read(void);
+u32 gpsp_plat_buttons_to_cursor(u32 buttons);
+
+#define PLAT_BUTTON_COUNT 17
+extern u32 button_plat_mask_to_config[PLAT_BUTTON_COUNT];
+
+void *fb_flip_screen(void);
+void fb_set_mode(int w, int h, int buffers, int scale, int filter);
+void fb_wait_vsync(void);