- fixed: soundfont selection for FluidSynth was ignored

This commit is contained in:
alexey.lysiuk 2019-10-05 11:23:46 +03:00
parent 7780f774f9
commit ace677b8a3
1 changed files with 2 additions and 0 deletions

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)
{
if (*patches == 0) patches = fluidConfig.fluid_patchset.c_str();
//Resolve the paths here, the renderer will only get a final list of file names.
if (musicCallbacks.PathForSoundfont)