From 8476df3e3164dfdfe614f6f9889f15514f0db818 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 30 Dec 2020 23:55:10 +0300 Subject: [PATCH] SDL_mixer.c: remove calls to non-existing m68k asm code. --- src/audio/SDL_mixer.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/audio/SDL_mixer.c b/src/audio/SDL_mixer.c index b531fa218..45c1b3a15 100644 --- a/src/audio/SDL_mixer.c +++ b/src/audio/SDL_mixer.c @@ -98,11 +98,6 @@ SDL_MixAudioFormat(Uint8 * dst, const Uint8 * src, SDL_AudioFormat format, case AUDIO_U8: { -#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; while (len--) { @@ -112,7 +107,6 @@ SDL_MixAudioFormat(Uint8 * dst, const Uint8 * src, SDL_AudioFormat format, ++dst; ++src; } -#endif } break; @@ -172,10 +166,6 @@ SDL_MixAudioFormat(Uint8 * dst, const Uint8 * src, SDL_AudioFormat format, case AUDIO_S16MSB: { -#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 Sint16 src1, src2; int dst_sample; const int max_audioval = ((1 << (16 - 1)) - 1); @@ -198,7 +188,6 @@ SDL_MixAudioFormat(Uint8 * dst, const Uint8 * src, SDL_AudioFormat format, dst[0] = dst_sample & 0xFF; dst += 2; } -#endif } break;