X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pandora%2Fpandora.c;h=92047c289ca0e1062e9408b81c18481c46a76d08;hb=d2f29611d1379a249c8f3f955ed16a336f9290cd;hp=ce9fac670cfad678503d207f13f7e6def09ef2ac;hpb=a96477bb5e1623dc132d632ac51a22cf7bdabfa7;p=libpicofe.git diff --git a/pandora/pandora.c b/pandora/pandora.c index ce9fac6..92047c2 100644 --- a/pandora/pandora.c +++ b/pandora/pandora.c @@ -13,15 +13,17 @@ #include "../linux/sndout_oss.h" #include "../common/arm_linux.h" #include "../common/emu.h" -#include "pandora.h" static int fbdev = -1; #define SCREEN_MAP_SIZE (800*480*2) static void *screen = MAP_FAILED; -/* common */ -void pnd_init(void) +void plat_early_init(void) +{ +} + +void plat_init(void) { printf("entering init()\n"); fflush(stdout); @@ -47,7 +49,7 @@ void pnd_init(void) printf("exitting init()\n"); fflush(stdout); } -void pnd_exit(void) +void plat_finish(void) { if (screen != MAP_FAILED) munmap(screen, SCREEN_MAP_SIZE); @@ -69,13 +71,3 @@ void lprintf(const char *fmt, ...) va_end(vl); } - -/* fake GP2X */ -/* -void set_gamma(int g100, int A_SNs_curve) {} -void set_FCLK(unsigned MHZ) {} -void set_LCD_custom_rate(int rate) {} -void unset_LCD_custom_rate(void) {} -void Pause940(int yes) {} -void Reset940(int yes, int bank) {} -*/