From a89811374058283bea7096d66bd27bd2e1e30abd Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Thu, 27 Mar 2025 01:49:32 +0300 Subject: VLC Plugin: Fixed new emulators missing It was a bug! --- utils/vlc_codec/libadlmidi.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/utils/vlc_codec/libadlmidi.c b/utils/vlc_codec/libadlmidi.c index ca56245..cada489 100644 --- a/utils/vlc_codec/libadlmidi.c +++ b/utils/vlc_codec/libadlmidi.c @@ -156,7 +156,13 @@ static const char * const channel_alloc_descriptions[] = #define EMULATOR_TYPE_LINGTEXT N_( \ "OPL3 Emulator that will be used to generate final sound.") -static const int emulator_type_values[] = { 0, 1, 2 }; +static const int emulator_type_values[] = +{ + 0, 1, 2, 3, 4, 5, 6 +#ifndef ADLMIDI_DISABLE_YMFM_EMULATOR + , 7, 8 +#endif +}; static const char * const emulator_type_descriptions[] = { N_("Nuked OPL3 1.8"), -- cgit v1.2.3