aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_load.cpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-25 03:10:50 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-25 03:10:50 +0300
commit26c823cb2a76b2f49bd7e93abecb2985d689eb1b (patch)
tree2effa5658b0440d0caa2aa3d3f288cca1a0d9f5e /src/adlmidi_load.cpp
parent5aca69f9b098b4cfcca6790b1b61f42c403cad19 (diff)
downloadlibADLMIDI-26c823cb2a76b2f49bd7e93abecb2985d689eb1b.tar.gz
libADLMIDI-26c823cb2a76b2f49bd7e93abecb2985d689eb1b.tar.bz2
libADLMIDI-26c823cb2a76b2f49bd7e93abecb2985d689eb1b.zip
Fixed build with disabled embedded banks
Diffstat (limited to 'src/adlmidi_load.cpp')
-rw-r--r--src/adlmidi_load.cpp2
1 files changed, 1 insertions, 1 deletions
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;