# HG changeset patch # User Patrice Mandin # Date 1075539423 0 # Node ID d0f1e34290d6a647b060aa1cff1d69382e7d5db7 # Parent dec19b813b04ca671c73736620ce9b7bc68fdd1d Milan and Hades Atari clones do not have an Atari video chip diff -r dec19b813b04 -r d0f1e34290d6 src/video/xbios/SDL_xbios.c --- a/src/video/xbios/SDL_xbios.c Sat Jan 31 06:49:18 2004 +0000 +++ b/src/video/xbios/SDL_xbios.c Sat Jan 31 08:57:03 2004 +0000 @@ -132,7 +132,13 @@ static int XBIOS_Available(void) { - unsigned long cookie_vdo; + unsigned long cookie_vdo, cookie_mil, cookie_hade; + + /* Milan/Hades Atari clones do not have an Atari video chip */ + if ( (Getcookie(C__MIL, &cookie_mil) == C_FOUND) || + (Getcookie(C_hade, &cookie_hade) == C_FOUND) ) { + return 0; + } /* Cookie _VDO present ? if not, assume ST machine */ if (Getcookie(C__VDO, &cookie_vdo) != C_FOUND) {