From 19df5f0a2f41dd5098d78b7e4d0f08fb14e46cad Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 3 Jan 2012 16:46:05 -0800 Subject: [PATCH] Fixed bug 1358 --- music.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/music.c b/music.c index 0063e8dd..083d906a 100755 --- a/music.c +++ b/music.c @@ -199,10 +199,12 @@ static int music_halt_or_loop (void) if (!music_internal_playing()) { +#ifdef USE_NATIVE_MIDI /* Native MIDI handles looping internally */ if (music_playing->type == MUS_MID && native_midi_ok) { music_loops = 0; } +#endif /* Restart music if it has to loop at a high level */ if (music_loops)