src/video/xbios/SDL_xbios.c
changeset 797 d0f1e34290d6
parent 769 b8d311d90021
child 801 ff1058d642dc
--- 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) {