- fixed: soundfont selection for FluidSynth was ignored

This commit is contained in:
alexey.lysiuk 2019-10-05 11:23:46 +03:00 committed by drfrag
parent 696426c8e4
commit 49b8bedc86

View file

@ -573,6 +573,8 @@ extern "C" unsigned __stdcall GetSystemDirectoryA(char* lpBuffer, unsigned uSize
void Fluid_SetupConfig(const char* patches, std::vector<std::string> &patch_paths, bool systemfallback) void Fluid_SetupConfig(const char* patches, std::vector<std::string> &patch_paths, bool systemfallback)
{ {
if (*patches == 0) patches = fluidConfig.fluid_patchset.c_str();
//Resolve the paths here, the renderer will only get a final list of file names. //Resolve the paths here, the renderer will only get a final list of file names.
if (musicCallbacks.PathForSoundfont) if (musicCallbacks.PathForSoundfont)