comparison src/audio/SDL_mixer_m68k.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 99210400e8b9
children f7b03b6838cb
comparison
equal deleted inserted replaced
3629:102be1cdd2bb 3630:efb79807afe1
25 m68k assembly mix routines 25 m68k assembly mix routines
26 26
27 Patrice Mandin 27 Patrice Mandin
28 */ 28 */
29 29
30 #if defined(__M68000__) && defined(__GNUC__) 30 #if defined(__M68000__) && !defined(__mcoldfire__) && defined(__GNUC__)
31 void 31 void
32 SDL_MixAudio_m68k_U8(char *dst, char *src, long len, long volume, char *mix8) 32 SDL_MixAudio_m68k_U8(char *dst, char *src, long len, long volume, char *mix8)
33 { 33 {
34 __asm__ __volatile__("tstl %2\n" " beqs stoploop_u8\n" "mixloop_u8:\n" 34 __asm__ __volatile__("tstl %2\n" " beqs stoploop_u8\n" "mixloop_u8:\n"
35 /* Mix a sample */ 35 /* Mix a sample */