aboutsummaryrefslogtreecommitdiff
path: root/utils/gen_adldata/file_formats/load_bisqwit.h
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-11-04 15:32:02 +0300
committerWohlstand <admin@wohlnet.ru>2017-11-04 15:32:02 +0300
commit8861a00a87fc09ec5b08d3c8ee1d47fa6f5d6c6e (patch)
treecb4974f46ddacd1b50d257d98fff0b693222ba25 /utils/gen_adldata/file_formats/load_bisqwit.h
parent79a4100777d99c00e983ee78b4539acc349bd148 (diff)
downloadlibADLMIDI-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_bisqwit.h')
-rw-r--r--utils/gen_adldata/file_formats/load_bisqwit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/gen_adldata/file_formats/load_bisqwit.h b/utils/gen_adldata/file_formats/load_bisqwit.h
index 4928efa..0ba4524 100644
--- a/utils/gen_adldata/file_formats/load_bisqwit.h
+++ b/utils/gen_adldata/file_formats/load_bisqwit.h
@@ -43,7 +43,8 @@ static bool LoadBisqwit(const char *fn, unsigned bank, const char *prefix)
sprintf(name2, "%s%c%u", prefix,
(gmno < 128 ? 'M' : 'P'), gmno & 127);
- size_t resno = InsertIns(tmp[0], tmp[1], tmp2, name, name2);
+ tmp[1].diff = (tmp[0] != tmp[1]);
+ size_t resno = InsertIns(tmp[0], tmp[1], tmp2, name, name2, (tmp[0] == tmp[1]));
SetBank(bank, gmno, resno);
}
std::fclose(fp);