notaz.gp2x.de
/
ginge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle writeback in interpreter
[ginge.git]
/
common
/
host_fb.c
diff --git
a/common/host_fb.c
b/common/host_fb.c
index
d0cc754
..
a59e869
100644
(file)
--- a/
common/host_fb.c
+++ b/
common/host_fb.c
@@
-1,4
+1,9
@@
-// 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"
#include <string.h>
#ifdef LOADER
#include "../loader/realfuncs.h"
@@
-11,7
+16,7
@@
static int host_stride;
#if defined(PND)
#if defined(PND)
-#include "linux/fbdev.c"
+#include "li
bpicofe/li
nux/fbdev.c"
static struct vout_fbdev *fbdev;
static unsigned short host_pal[256];
static struct vout_fbdev *fbdev;
static unsigned short host_pal[256];
@@
-32,7
+37,7
@@
int host_video_init(int *stride, int no_dblbuf)
fbdev_name = "/dev/fb1";
w = h = 0;
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;
if (fbdev == NULL)
return -1;
@@
-206,3
+211,4
@@
void host_video_blit16(const unsigned short *src, int w, int h, int stride)
#endif // WIZ
#endif // WIZ
+// vim:shiftwidth=2:expandtab