diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-07-31 02:58:54 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-07-31 02:58:54 +0300 |
commit | af214cc7ebf2eed2788cea58cb658285adfe528b (patch) | |
tree | 825b624aad7a31be433095e9384632cd0c42e167 | |
parent | 626354e6d686d20c43b4d9aa929b85840e6e1015 (diff) | |
download | libADLMIDI-af214cc7ebf2eed2788cea58cb658285adfe528b.tar.gz libADLMIDI-af214cc7ebf2eed2788cea58cb658285adfe528b.tar.bz2 libADLMIDI-af214cc7ebf2eed2788cea58cb658285adfe528b.zip |
Added missing `const` to pan-law tables
-rw-r--r-- | src/chips/dosbox/dbopl.cpp | 2 | ||||
-rw-r--r-- | src/chips/nuked/nukedopl3.c | 2 | ||||
-rw-r--r-- | src/chips/nuked/nukedopl3_174.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/chips/dosbox/dbopl.cpp b/src/chips/dosbox/dbopl.cpp index 3b0d73d..2c00db2 100644 --- a/src/chips/dosbox/dbopl.cpp +++ b/src/chips/dosbox/dbopl.cpp @@ -220,7 +220,7 @@ static const Bit8u KslShiftTable[4] = { }; // Pan law table -static Bit16u PanLawTable[] = +static const Bit16u PanLawTable[] = { 65535, 65529, 65514, 65489, 65454, 65409, 65354, 65289, 65214, 65129, 65034, 64929, 64814, 64689, 64554, 64410, diff --git a/src/chips/nuked/nukedopl3.c b/src/chips/nuked/nukedopl3.c index 80a8975..267e67a 100644 --- a/src/chips/nuked/nukedopl3.c +++ b/src/chips/nuked/nukedopl3.c @@ -181,7 +181,7 @@ static const Bit8u ch_slot[18] = { * Pan law table */ -static Bit16u panlawtable[] = +static const Bit16u panlawtable[] = { 65535, 65529, 65514, 65489, 65454, 65409, 65354, 65289, 65214, 65129, 65034, 64929, 64814, 64689, 64554, 64410, diff --git a/src/chips/nuked/nukedopl3_174.c b/src/chips/nuked/nukedopl3_174.c index 2f7d874..8f818d4 100644 --- a/src/chips/nuked/nukedopl3_174.c +++ b/src/chips/nuked/nukedopl3_174.c @@ -233,7 +233,7 @@ static const Bit8u ch_slot[18] = { * Pan law table */ -static Bit16u panlawtable[] = +static const Bit16u panlawtable[] = { 65535, 65529, 65514, 65489, 65454, 65409, 65354, 65289, 65214, 65129, 65034, 64929, 64814, 64689, 64554, 64410, |