X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pandora%2Fpandora.c;fp=pandora%2Fpandora.c;h=0000000000000000000000000000000000000000;hb=c66f49e61a09926e828b2685cc997a6ebee7cdb4;hp=5541c2db68a8a59e17d17b99e5589afb6ece5faf;hpb=b6b7d1b1c53e6c0be6c9cc01519bdf9541c49ba4;p=libpicofe.git diff --git a/pandora/pandora.c b/pandora/pandora.c deleted file mode 100644 index 5541c2d..0000000 --- a/pandora/pandora.c +++ /dev/null @@ -1,54 +0,0 @@ -#include -#include -#include - -#include "../linux/sndout_oss.h" -#include "../linux/fbdev.h" -#include "../linux/oshide.h" -#include "../common/emu.h" - -void plat_early_init(void) -{ -} - -void plat_init(void) -{ - int ret, w, h; - - oshide_init(); - - ret = vout_fbdev_init(&w, &h); - if (ret != 0) { - fprintf(stderr, "couldn't init framebuffer\n"); - exit(1); - } - - if (w != g_screen_width || h != g_screen_height) { - fprintf(stderr, "%dx%d not supported\n", w, h); - vout_fbdev_finish(); - exit(1); - } - - // snd - sndout_oss_init(); -} - -void plat_finish(void) -{ - sndout_oss_exit(); - vout_fbdev_finish(); - oshide_finish(); - - printf("all done\n"); -} - -/* lprintf */ -void lprintf(const char *fmt, ...) -{ - va_list vl; - - va_start(vl, fmt); - vprintf(fmt, vl); - va_end(vl); -} -