src/audio/SDL_mixer_m68k.c
branchSDL-1.2
changeset 4374 124629b76853
parent 4159 a1b03ba2fcd0
child 5657 529d23724144
equal deleted inserted replaced
4373:ab06accf1b96 4374:124629b76853
    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 SDL_MixAudio_m68k_U8(char* dst, char* src, long len, long volume, char* mix8)
    31 void SDL_MixAudio_m68k_U8(char* dst, char* src, long len, long volume, char* mix8)
    32 {
    32 {
    33     __asm__ __volatile__ (
    33     __asm__ __volatile__ (
    34 
    34 
    35 	"tstl	%2\n"
    35 	"tstl	%2\n"
   206 	 : /* clobbered registers */
   206 	 : /* clobbered registers */
   207 	 	"d0", "d1", "d2", "d3", "cc", "memory" 
   207 	 	"d0", "d1", "d2", "d3", "cc", "memory" 
   208 	 );
   208 	 );
   209 }
   209 }
   210 #endif
   210 #endif
   211