20 lines
643 B
Diff
20 lines
643 B
Diff
--- a/advance/linux/vfb.c 2018-03-10 10:38:17.000000000 -0600
|
|
+++ b/advance/linux/vfb.c 2018-03-10 13:55:40.977788463 -0600
|
|
@@ -859,6 +859,7 @@
|
|
}
|
|
|
|
/* set the preferred bit depth */
|
|
+/*
|
|
switch (fb_state.varinfo.bits_per_pixel) {
|
|
case 16:
|
|
if ((fb_state.flags & VIDEO_DRIVER_FLAGS_MODE_BGR16) != 0)
|
|
@@ -873,6 +874,9 @@
|
|
fb_state.flags |= VIDEO_DRIVER_FLAGS_DEFAULT_BGR32;
|
|
break;
|
|
}
|
|
+*/
|
|
+/* force 16bit for EmuELEC */
|
|
+ fb_state.flags |= VIDEO_DRIVER_FLAGS_DEFAULT_BGR16;
|
|
|
|
log_std(("video:fb: size %ux%u\n", target_size_x(), target_size_y()));
|
|
log_std(("video:fb: aspect %ux%u\n", target_aspect_x(), target_aspect_y()));
|