Mercurial > sdl-ios-xcode
changeset 797:d0f1e34290d6
Milan and Hades Atari clones do not have an Atari video chip
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Sat, 31 Jan 2004 08:57:03 +0000 |
parents | dec19b813b04 |
children | f1b029d3b301 |
files | src/video/xbios/SDL_xbios.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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) {