TOON: Make ADPCM tables const

This commit is contained in:
Max Horn 2011-04-13 11:24:25 +02:00
parent e000ed22d5
commit 79f514a397

View File

@ -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,