From 75f2f1b7677e1bc44fa1ff9cb11ff0b0616f5afa Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Thu, 2 Jan 2020 11:26:06 +0100 Subject: Fix a failure with the Create bank access flag --- src/adlmidi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/adlmidi.cpp') diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index d0ce7e5..0426a0f 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -278,7 +278,7 @@ ADLMIDI_EXPORT int adl_getBank(ADL_MIDIPlayer *device, const ADL_BankId *idp, in value.second.ins[i].flags = adlinsdata::Flag_NoSound; std::pair ir; - if(flags & ADLMIDI_Bank_CreateRt) + if((flags & ADLMIDI_Bank_CreateRt) == ADLMIDI_Bank_CreateRt) { ir = map.insert(value, Synth::BankMap::do_not_expand_t()); if(ir.first == map.end()) -- cgit v1.2.3 From 1ef47f7db773a76a5652094b5ac8a9ec6408d064 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Fri, 17 Jan 2020 15:52:29 +0300 Subject: Update copyright year --- src/adlmidi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/adlmidi.cpp') diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index 0426a0f..48c4366 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -2,7 +2,7 @@ * libADLMIDI is a free Software MIDI synthesizer library with OPL3 emulation * * Original ADLMIDI code: Copyright (c) 2010-2014 Joel Yliluoma - * ADLMIDI Library API: Copyright (c) 2015-2019 Vitaly Novichkov + * ADLMIDI Library API: Copyright (c) 2015-2020 Vitaly Novichkov * * Library is based on the ADLMIDI, a MIDI player for Linux and Windows with OPL3 emulation: * http://iki.fi/bisqwit/source/adlmidi.html -- cgit v1.2.3