X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.c;h=92c2b5383e816a94d04671338d849aad8651bb3a;hp=5fd80cd782b4e52835a4018419d0c31aca0d4e7d;hb=1972732abfea710d3d7b61180971580d9e5081ce;hpb=514ed0d98e058596720f94af4af347b609980de9 diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 5fd80cd7..92c2b538 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -24,7 +24,7 @@ int pl_fbdev_init(void) 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; @@ -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); - 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)