Fixed bug 1358
authorSam Lantinga <slouken@libsdl.org>
Tue, 03 Jan 2012 16:46:05 -0800
changeset 541323b314739ef
parent 540 6900b9cadfb3
child 542 3de4970b36d4
Fixed bug 1358
music.c
     1.1 --- a/music.c	Tue Jan 03 01:38:41 2012 -0500
     1.2 +++ b/music.c	Tue Jan 03 16:46:05 2012 -0800
     1.3 @@ -199,10 +199,12 @@
     1.4  	
     1.5  	if (!music_internal_playing()) 
     1.6  	{
     1.7 +#ifdef USE_NATIVE_MIDI
     1.8  		/* Native MIDI handles looping internally */
     1.9  		if (music_playing->type == MUS_MID && native_midi_ok) {
    1.10  			music_loops = 0;
    1.11  		}
    1.12 +#endif
    1.13  
    1.14  		/* Restart music if it has to loop at a high level */
    1.15  		if (music_loops)