diff src/audio/SDL_mixer.c @ 4374:124629b76853 SDL-1.2

Disable m68k assembly for Coldfire CPUs
author Patrice Mandin <patmandin@gmail.com>
date Fri, 06 Nov 2009 18:06:01 +0000
parents a8e5b518e194
children 6599c89de50c
line wrap: on
line diff
--- a/src/audio/SDL_mixer.c	Fri Nov 06 17:42:14 2009 +0000
+++ b/src/audio/SDL_mixer.c	Fri Nov 06 18:06:01 2009 +0000
@@ -111,7 +111,7 @@
 	switch (format) {
 
 		case AUDIO_U8: {
-#if defined(__GNUC__) && defined(__M68000__) && defined(SDL_ASSEMBLY_ROUTINES)
+#if defined(__GNUC__) && defined(__M68000__) && !defined(__mcoldfire__) && defined(SDL_ASSEMBLY_ROUTINES)
 			SDL_MixAudio_m68k_U8((char*)dst,(char*)src,(unsigned long)len,(long)volume,(char *)mix8);
 #else
 			Uint8 src_sample;
@@ -144,7 +144,7 @@
 #endif
 #endif
 
-#if defined(__GNUC__) && defined(__M68000__) && defined(SDL_ASSEMBLY_ROUTINES)
+#if defined(__GNUC__) && defined(__M68000__) && !defined(__mcoldfire__) && defined(SDL_ASSEMBLY_ROUTINES)
 			SDL_MixAudio_m68k_S8((char*)dst,(char*)src,(unsigned long)len,(long)volume);
 #else
 			{
@@ -193,7 +193,7 @@
 #endif
 #endif
 
-#if defined(__GNUC__) && defined(__M68000__) && defined(SDL_ASSEMBLY_ROUTINES)
+#if defined(__GNUC__) && defined(__M68000__) && !defined(__mcoldfire__) && defined(SDL_ASSEMBLY_ROUTINES)
 			SDL_MixAudio_m68k_S16LSB((short*)dst,(short*)src,(unsigned long)len,(long)volume);
 #else
 			{