comparison src/video/xbios/SDL_xbios_blowup.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
comparison
equal deleted inserted replaced
4197:1bf6585720e9 4198:6405314a7c07
66 /* we can use this extended mode */ 66 /* we can use this extended mode */
67 modeinfo.number = (num_mode == 3 ? BPS8 : BPS16); 67 modeinfo.number = (num_mode == 3 ? BPS8 : BPS16);
68 modeinfo.width = blow_mode->width + 1; 68 modeinfo.width = blow_mode->width + 1;
69 modeinfo.height = blow_mode->height + 1; 69 modeinfo.height = blow_mode->height + 1;
70 modeinfo.depth = (num_mode == 3 ? 8 : 16); 70 modeinfo.depth = (num_mode == 3 ? 8 : 16);
71 modeinfo.doubleline = SDL_FALSE; 71 modeinfo.flags = (modeinfo.depth == 8 ? XBIOSMODE_C2P : 0);
72 72
73 SDL_XBIOS_AddMode(this, actually_add, &modeinfo); 73 SDL_XBIOS_AddMode(this, actually_add, &modeinfo);
74 } 74 }
75 } 75 }
76 } 76 }