From 26c823cb2a76b2f49bd7e93abecb2985d689eb1b Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Mon, 25 Jun 2018 03:10:50 +0300 Subject: Fixed build with disabled embedded banks --- src/adlmidi_load.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/adlmidi_load.cpp b/src/adlmidi_load.cpp index f2a24a2..fcabd2b 100644 --- a/src/adlmidi_load.cpp +++ b/src/adlmidi_load.cpp @@ -261,7 +261,7 @@ bool MIDIplay::LoadBank(FileAndMemReader &fr) bool MIDIplay::LoadMIDI_pre() { #ifdef DISABLE_EMBEDDED_BANKS - if((m_synth.m_embeddedBank != CustomBankTag) || m_synth.m_insBanks.empty()) + if((m_synth.m_embeddedBank != OPL3::CustomBankTag) || m_synth.m_insBanks.empty()) { errorStringOut = "Bank is not set! Please load any instruments bank by using of adl_openBankFile() or adl_openBankData() functions!"; return false; -- cgit v1.2.3