summaryrefslogtreecommitdiff
path: root/patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch')
-rw-r--r--patch/sdlmusic.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/patch/sdlmusic.cpp b/patch/sdlmusic.cpp
index 62af485..e558096 100644
--- a/patch/sdlmusic.cpp
+++ b/patch/sdlmusic.cpp
@@ -90,6 +90,7 @@ int32_t MUSIC_Init(int32_t SoundCard, int32_t Address)
player = new_fluid_player(synth);
driver = new_fluid_audio_driver(settings, synth);
+ MUSIC_SetLoopFlag(MUSIC_LoopSong); // Loop by default
fluid_synth_sfload(synth, "/usr/share/soundfonts/FluidR3_GM.sf2", 1);
return MIDI_Ok;