src/video/xbios/SDL_xbios.c
changeset 1061 5023cde12cbd
parent 1043 21d1d05aad39
child 1064 fba6b67b4d60
     1.1 --- a/src/video/xbios/SDL_xbios.c	Mon May 16 08:23:34 2005 +0000
     1.2 +++ b/src/video/xbios/SDL_xbios.c	Wed May 18 17:02:17 2005 +0000
     1.3 @@ -56,6 +56,7 @@
     1.4  #include "SDL_atarigl_c.h"
     1.5  #include "SDL_xbios.h"
     1.6  #include "SDL_xbios_blowup.h"
     1.7 +#include "SDL_xbios_centscreen.h"
     1.8  #include "SDL_xbios_sb3.h"
     1.9  
    1.10  #define XBIOS_VID_DRIVER_NAME "xbios"
    1.11 @@ -261,7 +262,7 @@
    1.12  {
    1.13  	int i,j8,j16;
    1.14  	xbiosmode_t *current_mode;
    1.15 -	unsigned long cookie_blow, cookie_scpn;
    1.16 +	unsigned long cookie_blow, cookie_scpn, cookie_cnts;
    1.17  
    1.18  	/* Initialize all variables that we clean on shutdown */
    1.19  	memset (SDL_modelist, 0, sizeof(SDL_modelist));
    1.20 @@ -415,8 +416,9 @@
    1.21  				SDL_XBIOS_BlowupInit(this, (blow_cookie_t *)cookie_blow);
    1.22  			} else if (Getcookie(C_SCPN, &cookie_scpn) == C_FOUND) {
    1.23  				SDL_XBIOS_SB3Init(this, (scpn_cookie_t *)cookie_scpn);
    1.24 +			} else if (Getcookie(C_CNTS, &cookie_cnts) == C_FOUND) {
    1.25 +				SDL_XBIOS_CentscreenInit(this);
    1.26  			}
    1.27 -
    1.28  			break;
    1.29  	}
    1.30