diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-11-14 01:33:53 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-11-14 01:33:53 +0300 |
commit | 5cdfbaf362dc3fd4bff8c11a7b5cf61cbbb4b15f (patch) | |
tree | f35ae273a0f9d008de1f5d10139f1fca0ad5b1e7 /src/adlmidi_load.cpp | |
parent | a61b0965769b6d174b488a1b577bd321ba461939 (diff) | |
download | libADLMIDI-5cdfbaf362dc3fd4bff8c11a7b5cf61cbbb4b15f.tar.gz libADLMIDI-5cdfbaf362dc3fd4bff8c11a7b5cf61cbbb4b15f.tar.bz2 libADLMIDI-5cdfbaf362dc3fd4bff8c11a7b5cf61cbbb4b15f.zip |
Tiny clean up
Diffstat (limited to 'src/adlmidi_load.cpp')
-rw-r--r-- | src/adlmidi_load.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/adlmidi_load.cpp b/src/adlmidi_load.cpp index 4df4b32..67faead 100644 --- a/src/adlmidi_load.cpp +++ b/src/adlmidi_load.cpp @@ -354,7 +354,7 @@ bool MIDIplay::LoadMIDI(MIDIplay::fileReader &fr) #ifdef DISABLE_EMBEDDED_BANKS if((opl.AdlBank != ~0u) || (opl.dynamic_metainstruments.size() < 256)) { - ADLMIDI_ErrorString = "Bank is not set! Please load any instruments bank by using of adl_openBankFile() or adl_openBankData() functions!"; + errorStringOut = "Bank is not set! Please load any instruments bank by using of adl_openBankFile() or adl_openBankData() functions!"; return false; } #endif @@ -419,8 +419,6 @@ riffskip: else if(std::memcmp(HeaderBuf, "MUS\x1A", 4) == 0) { // MUS/DMX files (Doom) - //uint64_t start = ReadLEint(HeaderBuf + 6, 2); - //is_MUS = true; fr.seek(0, SEEK_END); size_t mus_len = fr.tell(); fr.seek(0, SEEK_SET); |