X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=common%2Fhost_fb.c;h=a59e869a651bc25246b3dfb22372698141a2458e;hp=be6d934cc68a2459fde012a284b71d984d405962;hb=fea1465c72a13e859ddfc15419d680bc229cc315;hpb=499bf01c2f0e075caeb23714e3376a641c04eb7c diff --git a/common/host_fb.c b/common/host_fb.c index be6d934..a59e869 100644 --- a/common/host_fb.c +++ b/common/host_fb.c @@ -16,7 +16,7 @@ static int host_stride; #if defined(PND) -#include "linux/fbdev.c" +#include "libpicofe/linux/fbdev.c" static struct vout_fbdev *fbdev; static unsigned short host_pal[256]; @@ -37,7 +37,7 @@ int host_video_init(int *stride, int no_dblbuf) fbdev_name = "/dev/fb1"; w = h = 0; - fbdev = vout_fbdev_init(fbdev_name, &w, &h, 16, no_dblbuf); + fbdev = vout_fbdev_init(fbdev_name, &w, &h, 16, no_dblbuf ? 1 : 3); if (fbdev == NULL) return -1;