diff 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
line wrap: on
line diff
--- a/src/audio/mint/SDL_mintaudio_mcsn.c	Fri Jul 29 10:59:02 2005 +0000
+++ b/src/audio/mint/SDL_mintaudio_mcsn.c	Fri Jul 29 10:59:49 2005 +0000
@@ -90,6 +90,11 @@
 		return(0);
 	}
 
+	/* nor with Magic */
+	if (Getcookie(C_MagX, &dummy) == C_FOUND) {
+		return(0);
+	}
+
 	/* Check if user asked a different audio driver */
 	if ((envr) && (strcmp(envr, MINT_AUDIO_DRIVER_NAME)!=0)) {
 		DEBUG_PRINT((DEBUG_NAME "user asked a different audio driver\n"));