src/audio/SDL_mixer_m68k.c
changeset 3630 efb79807afe1
parent 2859 99210400e8b9
child 3697 f7b03b6838cb
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 */