diff src/audio/SDL_mixer.c @ 3630:efb79807afe1

Merged r5194:5195 from branches/SDL-1.2: coldfire cpu arch support.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 10 Jan 2010 08:21:19 +0000
parents 4d46850be3f6
children f7b03b6838cb
line wrap: on
line diff
--- a/src/audio/SDL_mixer.c	Sun Jan 10 08:15:25 2010 +0000
+++ b/src/audio/SDL_mixer.c	Sun Jan 10 08:21:19 2010 +0000
@@ -102,7 +102,7 @@
 
     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);
@@ -135,7 +135,7 @@
             } else
 #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
@@ -182,7 +182,7 @@
             } else
 #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
@@ -216,7 +216,7 @@
 
     case AUDIO_S16MSB:
         {
-#if defined(__GNUC__) && defined(__M68000__) && defined(SDL_ASSEMBLY_ROUTINES)
+#if defined(__GNUC__) && defined(__M68000__) && !defined(__mcoldfire__) && defined(SDL_ASSEMBLY_ROUTINES)
             SDL_MixAudio_m68k_S16MSB((short *) dst, (short *) src,
                                      (unsigned long) len, (long) volume);
 #else