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_bisqwit.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_bisqwit.h')
-rw-r--r-- | utils/gen_adldata/file_formats/load_bisqwit.h | 3 |
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); |