X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pandora%2Fpandora.c;h=5541c2db68a8a59e17d17b99e5589afb6ece5faf;hb=f6eaae4f09c6abab99692900a31c1df2a06b99af;hp=4019994284e4369057bb46858458f6c3e6b7c7ec;hpb=b188c2b6d0448a9c328a9dcae5ba5c8c8b5273f3;p=libpicofe.git diff --git a/pandora/pandora.c b/pandora/pandora.c index 4019994..5541c2d 100644 --- a/pandora/pandora.c +++ b/pandora/pandora.c @@ -4,6 +4,7 @@ #include "../linux/sndout_oss.h" #include "../linux/fbdev.h" +#include "../linux/oshide.h" #include "../common/emu.h" void plat_early_init(void) @@ -14,6 +15,8 @@ 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"); @@ -34,8 +37,9 @@ void plat_finish(void) { sndout_oss_exit(); vout_fbdev_finish(); + oshide_finish(); - printf("all done"); + printf("all done\n"); } /* lprintf */