Skip to content

Commit

Permalink
Update for mintlib 0.57.6 (m68k-atari-mint libc)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Feb 2, 2006
1 parent 3188c0f commit 911ac21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/video/xbios/SDL_xbios.c
Expand Up @@ -122,7 +122,7 @@ static int XBIOS_Available(void)
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)) {
Expand Down Expand Up @@ -348,7 +348,7 @@ static int XBIOS_VideoInit(_THIS, SDL_PixelFormat *vformat)
vformat->BitsPerPixel = 8;
break;
case VDO_F30:
switch (Montype())
switch (VgetMonitor())
{
case MONITOR_MONO:
/* Not usable */
Expand Down Expand Up @@ -382,7 +382,7 @@ static int XBIOS_VideoInit(_THIS, SDL_PixelFormat *vformat)
break;
}
XBIOS_oldvbase=Logbase();
XBIOS_oldvmode=Vsetmode(-1);
XBIOS_oldvmode=VsetMode(-1);

XBIOS_oldnumcol= 1<< (1 << (XBIOS_oldvmode & NUMCOLS));
if (XBIOS_oldnumcol > 256) {
Expand Down

0 comments on commit 911ac21

Please sign in to comment.