Mercurial > sdl-ios-xcode
comparison src/video/xbios/SDL_xbios_sb3.c @ 1064:fba6b67b4d60
Add Centscreen extended modes support
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Tue, 31 May 2005 12:31:11 +0000 |
parents | 0e7218843cfb |
children | 3692456e7b0f |
comparison
equal
deleted
inserted
replaced
1063:0fb50bfaea7f | 1064:fba6b67b4d60 |
---|---|
25 | 25 |
26 Patrice Mandin | 26 Patrice Mandin |
27 */ | 27 */ |
28 | 28 |
29 /*--- Includes ---*/ | 29 /*--- Includes ---*/ |
30 | |
31 #include <stdlib.h> | |
30 | 32 |
31 #include "SDL_xbios.h" | 33 #include "SDL_xbios.h" |
32 #include "SDL_xbios_sb3.h" | 34 #include "SDL_xbios_sb3.h" |
33 | 35 |
34 /*--- Defines ---*/ | 36 /*--- Defines ---*/ |
61 return 0; | 63 return 0; |
62 } | 64 } |
63 | 65 |
64 void SDL_XBIOS_SB3Init(_THIS, scpn_cookie_t *cookie_scpn) | 66 void SDL_XBIOS_SB3Init(_THIS, scpn_cookie_t *cookie_scpn) |
65 { | 67 { |
66 xbiosmode_t *current_mode; | |
67 scpn_screeninfo_t *scrinfo; | 68 scpn_screeninfo_t *scrinfo; |
68 | 69 |
69 /* SB3 prevent changing video modes, we can only use current one */ | 70 /* SB3 prevent changing video modes, we can only use current one */ |
70 if (XBIOS_modelist) { | 71 if (XBIOS_modelist) { |
71 free(XBIOS_modelist); | 72 free(XBIOS_modelist); |