-// vim:shiftwidth=2:expandtab
+/*
+ * GINGE - GINGE Is Not Gp2x Emulator
+ * (C) notaz, 2010-2011
+ *
+ * This work is licensed under the MAME license, see COPYING file for details.
+ */
#include <string.h>
#ifdef LOADER
#include "../loader/realfuncs.h"
#if defined(PND)
-#include "linux/fbdev.c"
+#include "libpicofe/linux/fbdev.c"
static struct vout_fbdev *fbdev;
static unsigned short host_pal[256];
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;
#endif // WIZ
+// vim:shiftwidth=2:expandtab