diff options
author | Wohlstand <admin@wohlnet.ru> | 2025-03-27 01:49:32 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2025-03-27 01:49:32 +0300 |
commit | a89811374058283bea7096d66bd27bd2e1e30abd (patch) | |
tree | 99cf709446d219fb167edeb909d84180e9a583c2 /utils | |
parent | 083388650662bbc26beafa157124973c7e905396 (diff) | |
download | libADLMIDI-a89811374058283bea7096d66bd27bd2e1e30abd.tar.gz libADLMIDI-a89811374058283bea7096d66bd27bd2e1e30abd.tar.bz2 libADLMIDI-a89811374058283bea7096d66bd27bd2e1e30abd.zip |
VLC Plugin: Fixed new emulators missing
It was a bug!
Diffstat (limited to 'utils')
-rw-r--r-- | utils/vlc_codec/libadlmidi.c | 8 |
1 files changed, 7 insertions, 1 deletions
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"), |