diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-11-04 15:32:02 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-11-04 15:32:02 +0300 |
commit | 8861a00a87fc09ec5b08d3c8ee1d47fa6f5d6c6e (patch) | |
tree | cb4974f46ddacd1b50d257d98fff0b693222ba25 /utils/gen_adldata/file_formats/load_bnk2.h | |
parent | 79a4100777d99c00e983ee78b4539acc349bd148 (diff) | |
download | libADLMIDI-8861a00a87fc09ec5b08d3c8ee1d47fa6f5d6c6e.tar.gz libADLMIDI-8861a00a87fc09ec5b08d3c8ee1d47fa6f5d6c6e.tar.bz2 libADLMIDI-8861a00a87fc09ec5b08d3c8ee1d47fa6f5d6c6e.zip |
All real 4-operator voices are must be different
Diffstat (limited to 'utils/gen_adldata/file_formats/load_bnk2.h')
-rw-r--r-- | utils/gen_adldata/file_formats/load_bnk2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/gen_adldata/file_formats/load_bnk2.h b/utils/gen_adldata/file_formats/load_bnk2.h index 202402c..c52af5d 100644 --- a/utils/gen_adldata/file_formats/load_bnk2.h +++ b/utils/gen_adldata/file_formats/load_bnk2.h @@ -86,13 +86,14 @@ static bool LoadBNK2(const char *fn, unsigned bank, const char *prefix, if(xxP24NNN & 8) { // dual-op + tmp[1].diff = true; size_t resno = InsertIns(tmp[0], tmp[1], tmp2, std::string(1, '\377') + name, name2); SetBank(bank, (unsigned int)gmno, resno); } else { // single-op - size_t resno = InsertIns(tmp[0], tmp[0], tmp2, std::string(1, '\377') + name, name2); + size_t resno = InsertIns(tmp[0], tmp2, std::string(1, '\377') + name, name2); SetBank(bank, (unsigned int)gmno, resno); } } |