aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/audio.cpp
diff options
context:
space:
mode:
authorMax Horn2011-04-13 11:24:25 +0200
committerMax Horn2011-04-13 11:49:24 +0200
commit79f514a397c9e558e25a28fa5f92a02f42d7828a (patch)
treeaa680af3092779151b9545be083e657b482cc40c /engines/toon/audio.cpp
parente000ed22d56e8ac8ab6680a8106bfa99b4f178fd (diff)
downloadscummvm-rg350-79f514a397c9e558e25a28fa5f92a02f42d7828a.tar.gz
scummvm-rg350-79f514a397c9e558e25a28fa5f92a02f42d7828a.tar.bz2
scummvm-rg350-79f514a397c9e558e25a28fa5f92a02f42d7828a.zip
TOON: Make ADPCM tables const
Diffstat (limited to 'engines/toon/audio.cpp')
-rw-r--r--engines/toon/audio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/toon/audio.cpp b/engines/toon/audio.cpp
index d76a63c1ae..0003bb1972 100644
--- a/engines/toon/audio.cpp
+++ b/engines/toon/audio.cpp
@@ -29,10 +29,10 @@
namespace Toon {
-static int ADPCM_index[8] = {
+static const int ADPCM_index[8] = {
-1, -1, -1, -1, 2 , 4 , 6 , 8
};
-static int ADPCM_table[89] = {
+static const int ADPCM_table[89] = {
7, 8, 9, 10, 11, 12, 13, 14, 16, 17,
19, 21, 23, 25, 28, 31, 34, 37, 41, 45,
50, 55, 60, 66, 73, 80, 88, 97, 107, 118,