revive pandora and win32 builds, rm gp2x dep for linux, lots of refactoring
[libpicofe.git] / pandora / pandora.c
index ce9fac6..92047c2 100644 (file)
 #include "../linux/sndout_oss.h"\r
 #include "../common/arm_linux.h"\r
 #include "../common/emu.h"\r
-#include "pandora.h"\r
 \r
 static int fbdev = -1;\r
 \r
 #define SCREEN_MAP_SIZE (800*480*2)\r
 static void *screen = MAP_FAILED;\r
 \r
-/* common */\r
-void pnd_init(void)\r
+void plat_early_init(void)\r
+{\r
+}\r
+\r
+void plat_init(void)\r
 {\r
        printf("entering init()\n"); fflush(stdout);\r
 \r
@@ -47,7 +49,7 @@ void pnd_init(void)
        printf("exitting init()\n"); fflush(stdout);\r
 }\r
 \r
-void pnd_exit(void)\r
+void plat_finish(void)\r
 {\r
        if (screen != MAP_FAILED)\r
                munmap(screen, SCREEN_MAP_SIZE);\r
@@ -69,13 +71,3 @@ void lprintf(const char *fmt, ...)
        va_end(vl);\r
 }\r
 \r
-\r
-/* fake GP2X */\r
-/*\r
-void set_gamma(int g100, int A_SNs_curve) {}\r
-void set_FCLK(unsigned MHZ) {}\r
-void set_LCD_custom_rate(int rate) {}\r
-void unset_LCD_custom_rate(void) {}\r
-void Pause940(int yes) {}\r
-void Reset940(int yes, int bank) {}\r
-*/\r