mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
Revert "- added dynamic loading of FluidSynth 2.x"
This reverts commit 399bc4cffa9401b6ea4b88ff6d2206e80f835efc.
This commit is contained in:
parent
9437bcda64
commit
8b6af8726e
1 changed files with 8 additions and 3 deletions
|
@ -134,10 +134,8 @@ extern "C" unsigned __stdcall GetSystemDirectoryA(char *lpBuffer, unsigned uSize
|
|||
|
||||
#ifdef __APPLE__
|
||||
#define FLUIDSYNTHLIB1 "libfluidsynth.1.dylib"
|
||||
#define FLUIDSYNTHLIB2 "libfluidsynth.2.dylib"
|
||||
#else // !__APPLE__
|
||||
#define FLUIDSYNTHLIB1 "libfluidsynth.so.1"
|
||||
#define FLUIDSYNTHLIB2 "libfluidsynth.so.2"
|
||||
#endif // __APPLE__
|
||||
#endif
|
||||
|
||||
|
@ -792,12 +790,19 @@ bool FluidSynthMIDIDevice::LoadFluidSynth()
|
|||
return true;
|
||||
}
|
||||
|
||||
#ifdef FLUIDSYNTHLIB2
|
||||
if(!FluidSynthModule.Load({FLUIDSYNTHLIB1, FLUIDSYNTHLIB2}))
|
||||
{
|
||||
Printf(TEXTCOLOR_RED "Could not load " FLUIDSYNTHLIB1 " or " FLUIDSYNTHLIB2 "\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
#else
|
||||
if(!FluidSynthModule.Load({fluid_lib, FLUIDSYNTHLIB1}))
|
||||
{
|
||||
Printf(TEXTCOLOR_RED "Could not load " FLUIDSYNTHLIB1 ": %s\n", dlerror());
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue