X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=common%2Fhost_fb.c;h=46cd03379f0ac2ebb702c13ef3812ab5ff83a744;hp=f577bb94505ad8eaad2e29d35f734feab901476e;hb=eb058b482d306017c5efa176351c36180c6c8b85;hpb=830ba1bf77492eb259dad9dea3d9531b51376009 diff --git a/common/host_fb.c b/common/host_fb.c index f577bb9..46cd033 100644 --- a/common/host_fb.c +++ b/common/host_fb.c @@ -11,7 +11,7 @@ static int host_stride; #if defined(PND) -#include "fbdev.c" +#include "linux/fbdev.c" static struct vout_fbdev *fbdev; static unsigned short host_pal[256]; @@ -31,6 +31,7 @@ int host_video_init(int *stride, int no_dblbuf) if (fbdev_name == NULL) fbdev_name = "/dev/fb1"; + w = h = 0; fbdev = vout_fbdev_init(fbdev_name, &w, &h, no_dblbuf); if (fbdev == NULL) return -1; @@ -116,7 +117,7 @@ void host_video_blit16(const unsigned short *src, int w, int h, int stride) #elif defined(WIZ) -#include "warm.c" +#include "warm/warm.c" #include "wiz_video.c" void *host_video_flip(void)