shithub: choc

Download patch

ref: 31bb2c78accf62f89aad09d3be1680bb0ff09012
parent: 853edc4414a3ae8fe3e81cb73eea9e23e48bc5b6
author: Michael Day <mikeguy42@gmail.com>
date: Sun Aug 15 04:40:22 EDT 2021

Add .sf3 extension to file dialog

--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -42,7 +42,7 @@
 };
 
 static const char *cfg_extension[] = { "cfg", NULL };
-static const char *sf2_extension[] = { "sf2", NULL };
+static const char *sf_extension[] = { "sf2", "sf3", NULL };
 
 // Config file variables:
 
@@ -202,7 +202,7 @@
                 TXT_NewStrut(4, 0),
                 TXT_NewFileSelector(&fluidsynth_sf_path, 34,
                                     "Select FluidSynth soundfont file",
-                                    sf2_extension),
+                                    sf_extension),
                 NULL)),
         NULL);
 }