diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2019-07-08 03:13:54 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2019-07-08 03:13:54 +0300 |
commit | 9cf0445116c8e69dc3d4c2768af74af9281914d1 (patch) | |
tree | 169a45545a041f6ea1d5c5cb5caf59a8ef7b5f5b /utils/gen_adldata/progs_cache.cpp | |
parent | bfd932874f5e107eaf81c40b87d5c722170a5ace (diff) | |
download | libADLMIDI-9cf0445116c8e69dc3d4c2768af74af9281914d1.tar.gz libADLMIDI-9cf0445116c8e69dc3d4c2768af74af9281914d1.tar.bz2 libADLMIDI-9cf0445116c8e69dc3d4c2768af74af9281914d1.zip |
Minor fixes
Looks like need to correct 4-op sounding, looks like it really silent inside measurer when it must give an actual sound!
Diffstat (limited to 'utils/gen_adldata/progs_cache.cpp')
-rw-r--r-- | utils/gen_adldata/progs_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gen_adldata/progs_cache.cpp b/utils/gen_adldata/progs_cache.cpp index d4ba10e..0e087d3 100644 --- a/utils/gen_adldata/progs_cache.cpp +++ b/utils/gen_adldata/progs_cache.cpp @@ -420,7 +420,7 @@ struct OpCheckData attack = static_cast<uint_fast8_t>((d_E862 >> 12) & 0x0F); release = static_cast<uint_fast8_t>((d_E862 >> 16) & 0x0F); sustain = static_cast<uint_fast8_t>((d_E862 >> 20) & 0x0F); - level = static_cast<uint_fast8_t>(d_40); + level = static_cast<uint_fast8_t>(d_40 & 0x3F); } bool isOpSilent(bool moreInfo) |