diff --git a/src/include/86box/language.h b/src/include/86box/language.h index bdd043eb7..4b793d75d 100644 --- a/src/include/86box/language.h +++ b/src/include/86box/language.h @@ -106,6 +106,7 @@ #define IDS_2130 2130 // "Invalid configuration" #define IDS_2131 2131 // LIB_NAME_FREETYPE " is required..." #define IDS_2132 2132 // LIB_NAME_GS " is required for... +#define IDS_2133 2133 // LIB_NAME_FLUIDSYNTH " is required..." #define IDS_4096 4096 // "Hard disk (%s)" #define IDS_4097 4097 // "%01i:%01i" diff --git a/src/sound/midi_fluidsynth.c b/src/sound/midi_fluidsynth.c index 11c4a8b57..20f64b55a 100644 --- a/src/sound/midi_fluidsynth.c +++ b/src/sound/midi_fluidsynth.c @@ -230,7 +230,7 @@ void* fluidsynth_init(const device_t *info) #endif if (fluidsynth_handle == NULL) { - ui_msgbox(MBX_ERROR, (wchar_t *)IDS_2080); + ui_msgbox_header(MBX_ERROR, (wchar_t *) IDS_2080, (wchar_t *) IDS_2133); return NULL; } diff --git a/src/win/86Box.rc b/src/win/86Box.rc index 4e01a43b1..924dcb3e1 100644 --- a/src/win/86Box.rc +++ b/src/win/86Box.rc @@ -917,7 +917,7 @@ END STRINGTABLE DISCARDABLE BEGIN - IDS_2080 "Unable to initialize FluidSynth, libfluidsynth.dll is required" + IDS_2080 "Unable to initialize FluidSynth" IDS_2081 "Bus" IDS_2082 "File" IDS_2083 "C" @@ -985,6 +985,12 @@ BEGIN #define LIB_NAME_GS "libgs" #endif IDS_2132 LIB_NAME_GS " is required for automatic conversion of PostScript files to PDF.\n\nAny documents sent to the generic PostScript printer will be saved as PostScript (.ps) files." +#ifdef _WIN32 +#define LIB_NAME_FLUIDSYNTH "libfluidsynth.dll" +#else +#define LIB_NAME_FLUIDSYNTH "libfluidsynth" +#endif + IDS_2133 LIB_NAME_FLUIDSYNTH " is required for FluidSynth MIDI output." END STRINGTABLE DISCARDABLE