Root/zgv/patches/020-no-8bppforce.patch

1Index: zgv-5.9/src/rcfile.c
2===================================================================
3--- zgv-5.9.orig/src/rcfile.c 2011-01-23 18:45:40.000000000 +0100
4+++ zgv-5.9/src/rcfile.c 2011-01-23 18:46:43.000000000 +0100
5@@ -482,9 +482,12 @@
6 int f;
7 int bpp_force=0;
8 
9-/* fairly kludgey... */
10-if(mp==&cfg.fs_startmode)
11- bpp_force=8; /* make sure file-sel modes are 8-bit */
12+/* file-sel 8-bit modes don't work on the NanoNote. Also, there is no
13+ * error-check in place, forcing 8bpp, causes a division by zero later on,
14+ * as vga_getydim() returns zero */
15+/* /\* fairly kludgey... *\/ */
16+/* if(mp==&cfg.fs_startmode) */
17+/* bpp_force=8; /\* make sure file-sel modes are 8-bit *\/ */
18 
19 if(get_modenumber(arg,&f,bpp_force)==-1)
20   {
21

Archive Download this file



interactive