changeset 447:c98a34c00069

Fixed MIDI decoding on bigendian systems.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 05 Aug 2003 10:07:20 +0000
parents ce8937e44e7a
children 139cb6ef0491
files decoders/timidity/instrum.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/decoders/timidity/instrum.c	Mon Mar 10 22:44:59 2003 +0000
+++ b/decoders/timidity/instrum.c	Tue Aug 05 10:07:20 2003 +0000
@@ -420,7 +420,7 @@
 	  Sint16 *tmp=(Sint16 *)sp->data,s;
 	  while (i--)
 	    { 
-	      s=SDL_SwapLE32(*tmp);
+	      s=SDL_SwapLE16(*tmp);
 	      *tmp++=s;
 	    }
 	}