Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4197:1bf6585720e9 | 4198:6405314a7c07 |
---|---|
55 | 55 |
56 modeinfo.number = listedmode.mode; | 56 modeinfo.number = listedmode.mode; |
57 modeinfo.width = listedmode.physx; | 57 modeinfo.width = listedmode.physx; |
58 modeinfo.height = listedmode.physy; | 58 modeinfo.height = listedmode.physy; |
59 modeinfo.depth = listedmode.plan; | 59 modeinfo.depth = listedmode.plan; |
60 modeinfo.doubleline = SDL_FALSE; | 60 modeinfo.flags = (modeinfo.depth == 8 ? XBIOSMODE_C2P : 0); |
61 | 61 |
62 SDL_XBIOS_AddMode(this, actually_add, &modeinfo); | 62 SDL_XBIOS_AddMode(this, actually_add, &modeinfo); |
63 } | 63 } |
64 } | 64 } |
65 SDL_memcpy(&curmode, &listedmode, sizeof(centscreen_mode_t)); | 65 SDL_memcpy(&curmode, &listedmode, sizeof(centscreen_mode_t)); |