Update for mintlib 0.57.6 (m68k-atari-mint libc)
authorPatrice Mandin <patmandin@gmail.com>
Thu, 02 Feb 2006 21:27:24 +0000
changeset 1322a4566d07718f
parent 1321 e05bc5d315e3
child 1323 be736c197ceb
Update for mintlib 0.57.6 (m68k-atari-mint libc)
src/video/xbios/SDL_xbios.c
     1.1 --- a/src/video/xbios/SDL_xbios.c	Thu Feb 02 06:26:39 2006 +0000
     1.2 +++ b/src/video/xbios/SDL_xbios.c	Thu Feb 02 21:27:24 2006 +0000
     1.3 @@ -122,7 +122,7 @@
     1.4  				return 0;
     1.5  			break;
     1.6  		case VDO_F30:
     1.7 -			if ( Montype() == MONITOR_MONO)
     1.8 +			if ( VgetMonitor() == MONITOR_MONO)
     1.9  				return 0;
    1.10  			if (Getcookie(C_SCPN, &cookie_scpn) == C_FOUND) {
    1.11  				if (!SDL_XBIOS_SB3Usable((scpn_cookie_t *)cookie_scpn)) {
    1.12 @@ -348,7 +348,7 @@
    1.13  			vformat->BitsPerPixel = 8;
    1.14  			break;
    1.15  		case VDO_F30:
    1.16 -			switch (Montype())
    1.17 +			switch (VgetMonitor())
    1.18  			{
    1.19  				case MONITOR_MONO:
    1.20  					/* Not usable */
    1.21 @@ -382,7 +382,7 @@
    1.22  					break;
    1.23  			}
    1.24  			XBIOS_oldvbase=Logbase();
    1.25 -			XBIOS_oldvmode=Vsetmode(-1);
    1.26 +			XBIOS_oldvmode=VsetMode(-1);
    1.27  
    1.28  			XBIOS_oldnumcol= 1<< (1 << (XBIOS_oldvmode & NUMCOLS));
    1.29  			if (XBIOS_oldnumcol > 256) {