notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add support for 24bpp mode
[pcsx_rearmed.git]
/
frontend
/
plugin_lib.c
diff --git
a/frontend/plugin_lib.c
b/frontend/plugin_lib.c
index
5fd80cd
..
92c2b53
100644
(file)
--- a/
frontend/plugin_lib.c
+++ b/
frontend/plugin_lib.c
@@
-24,7
+24,7
@@
int pl_fbdev_init(void)
w = 640;
h = 512; // ??
w = 640;
h = 512; // ??
- fbdev = vout_fbdev_init(fbdev_name, &w, &h,
0
);
+ fbdev = vout_fbdev_init(fbdev_name, &w, &h,
16, 3
);
if (fbdev == NULL)
return -1;
if (fbdev == NULL)
return -1;
@@
-36,7
+36,7
@@
int pl_fbdev_init(void)
int pl_fbdev_set_mode(int w, int h, int bpp)
{
printf("set mode %dx%d@%d\n", w, h, bpp);
int pl_fbdev_set_mode(int w, int h, int bpp)
{
printf("set mode %dx%d@%d\n", w, h, bpp);
- return vout_fbdev_resize(fbdev, w, h,
0, 0, 0, 0, 0
);
+ return vout_fbdev_resize(fbdev, w, h,
bpp, 0, 0, 0, 0, 3
);
}
void *pl_fbdev_flip(void)
}
void *pl_fbdev_flip(void)