aboutsummaryrefslogtreecommitdiff
path: root/src/chips/dosbox/dbopl.h
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-09-24 17:30:44 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-09-24 17:39:56 +0200
commit206e6e31cc044b5d195e49af3f8b448f83060d8f (patch)
tree3736d915723b4c2a7bec3bf30c9a8db83efad661 /src/chips/dosbox/dbopl.h
parentb8ca9405f645b59aff2a1b43b89fc6a8071ae6ba (diff)
downloadlibADLMIDI-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.h6
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];