diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-09-24 17:30:44 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-09-24 17:39:56 +0200 |
commit | 206e6e31cc044b5d195e49af3f8b448f83060d8f (patch) | |
tree | 3736d915723b4c2a7bec3bf30c9a8db83efad661 /src/chips/dosbox/dbopl.h | |
parent | b8ca9405f645b59aff2a1b43b89fc6a8071ae6ba (diff) | |
download | libADLMIDI-206e6e31cc044b5d195e49af3f8b448f83060d8f.tar.gz libADLMIDI-206e6e31cc044b5d195e49af3f8b448f83060d8f.tar.bz2 libADLMIDI-206e6e31cc044b5d195e49af3f8b448f83060d8f.zip |
dosbox: add caching of the attack rate computation
Diffstat (limited to 'src/chips/dosbox/dbopl.h')
-rw-r--r-- | src/chips/dosbox/dbopl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chips/dosbox/dbopl.h b/src/chips/dosbox/dbopl.h index 429735f..89d2019 100644 --- a/src/chips/dosbox/dbopl.h +++ b/src/chips/dosbox/dbopl.h @@ -227,11 +227,11 @@ struct Chip { Bit32u noiseValue; //Frequency scales for the different multiplications - Bit32u freqMul[16]; + const Bit32u *freqMul/*[16]*/; //Rates for decay and release for rate of this chip - Bit32u linearRates[76]; + const Bit32u *linearRates/*[76]*/; //Best match attack rates for the rate of this chip - Bit32u attackRates[76]; + const Bit32u *attackRates/*[76]*/; //18 channels with 2 operators each Channel chan[18]; |