diff src/video/xbios/SDL_xbios_centscreen.c @ 4198:6405314a7c07 SDL-1.2

Define flags for double line and c2p operations. More Milan video work.
author Patrice Mandin <patmandin@gmail.com>
date Sun, 20 Sep 2009 12:08:51 +0000
parents 05c9e942cc46
children
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios_centscreen.c	Sat Sep 19 21:58:59 2009 +0000
+++ b/src/video/xbios/SDL_xbios_centscreen.c	Sun Sep 20 12:08:51 2009 +0000
@@ -57,7 +57,7 @@
 					modeinfo.width = listedmode.physx;
 					modeinfo.height = listedmode.physy;
 					modeinfo.depth = listedmode.plan;
-					modeinfo.doubleline = SDL_FALSE;
+					modeinfo.flags = (modeinfo.depth == 8 ? XBIOSMODE_C2P : 0);
 
 					SDL_XBIOS_AddMode(this, actually_add, &modeinfo);
 				}