Mercurial > sdl-ios-xcode
diff src/video/xbios/SDL_xbios.c @ 1322:a4566d07718f
Update for mintlib 0.57.6 (m68k-atari-mint libc)
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Thu, 02 Feb 2006 21:27:24 +0000 |
parents | c9b51268668f |
children | 3692456e7b0f |
line wrap: on
line diff
--- 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) {