Skip to content
Permalink
Browse files

Update for mintlib 0.57.6 (m68k-atari-mint libc)

  • Loading branch information
pmandin committed Feb 2, 2006
1 parent 3188c0f commit 911ac2143c56754ea682d6a300ecd31ddf17107e
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/video/xbios/SDL_xbios.c
@@ -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)) {
@@ -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 */
@@ -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) {

0 comments on commit 911ac21

Please sign in to comment.