comparison src/audio/mint/SDL_mintaudio_mcsn.c @ 1106:524fd51f5d2c

Disable XBIOS in interrupt also under Magic
author Patrice Mandin <patmandin@gmail.com>
date Fri, 29 Jul 2005 10:59:49 +0000
parents f10892fa2e48
children 856f76a099c7
comparison
equal deleted inserted replaced
1105:1c9988e47824 1106:524fd51f5d2c
85 unsigned long dummy; 85 unsigned long dummy;
86 const char *envr = getenv("SDL_AUDIODRIVER"); 86 const char *envr = getenv("SDL_AUDIODRIVER");
87 87
88 /* We can't use XBIOS in interrupt under MiNT */ 88 /* We can't use XBIOS in interrupt under MiNT */
89 if (Getcookie(C_MiNT, &dummy) == C_FOUND) { 89 if (Getcookie(C_MiNT, &dummy) == C_FOUND) {
90 return(0);
91 }
92
93 /* nor with Magic */
94 if (Getcookie(C_MagX, &dummy) == C_FOUND) {
90 return(0); 95 return(0);
91 } 96 }
92 97
93 /* Check if user asked a different audio driver */ 98 /* Check if user asked a different audio driver */
94 if ((envr) && (strcmp(envr, MINT_AUDIO_DRIVER_NAME)!=0)) { 99 if ((envr) && (strcmp(envr, MINT_AUDIO_DRIVER_NAME)!=0)) {