Update for mintlib 0.57.6 (m68k-atari-mint libc)
authorPatrice Mandin <patmandin@gmail.com>
Thu, 02 Feb 2006 21:27:24 +0000
changeset 1322 a4566d07718f
parent 1321 e05bc5d315e3
child 1323 be736c197ceb
Update for mintlib 0.57.6 (m68k-atari-mint libc)
src/video/xbios/SDL_xbios.c
--- a/src/video/xbios/SDL_xbios.c	Thu Feb 02 06:26:39 2006 +0000
+++ b/src/video/xbios/SDL_xbios.c	Thu Feb 02 21:27:24 2006 +0000
@@ -122,7 +122,7 @@
 				return 0;
 			break;
 		case VDO_F30:
-			if ( Montype() == MONITOR_MONO)
+			if ( VgetMonitor() == MONITOR_MONO)
 				return 0;
 			if (Getcookie(C_SCPN, &cookie_scpn) == C_FOUND) {
 				if (!SDL_XBIOS_SB3Usable((scpn_cookie_t *)cookie_scpn)) {
@@ -348,7 +348,7 @@
 			vformat->BitsPerPixel = 8;
 			break;
 		case VDO_F30:
-			switch (Montype())
+			switch (VgetMonitor())
 			{
 				case MONITOR_MONO:
 					/* Not usable */
@@ -382,7 +382,7 @@
 					break;
 			}
 			XBIOS_oldvbase=Logbase();
-			XBIOS_oldvmode=Vsetmode(-1);
+			XBIOS_oldvmode=VsetMode(-1);
 
 			XBIOS_oldnumcol= 1<< (1 << (XBIOS_oldvmode & NUMCOLS));
 			if (XBIOS_oldnumcol > 256) {