diff options
author | Johannes Schickel | 2008-06-24 13:59:48 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-06-24 13:59:48 +0000 |
commit | df1aa7809aad2a6b0404d57aeb9d0c5a423fd91b (patch) | |
tree | af5fb1d2792f23547699042416abb0c428df63f7 /engines/kyra/sound_towns.cpp | |
parent | 28e32bb7cb6df6610e137500c0187d4ba36d8bdf (diff) | |
download | scummvm-rg350-df1aa7809aad2a6b0404d57aeb9d0c5a423fd91b.tar.gz scummvm-rg350-df1aa7809aad2a6b0404d57aeb9d0c5a423fd91b.tar.bz2 scummvm-rg350-df1aa7809aad2a6b0404d57aeb9d0c5a423fd91b.zip |
Added const to some static data.
svn-id: r32763
Diffstat (limited to 'engines/kyra/sound_towns.cpp')
-rw-r--r-- | engines/kyra/sound_towns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp index 4265533507..c0e4dd70a9 100644 --- a/engines/kyra/sound_towns.cpp +++ b/engines/kyra/sound_towns.cpp @@ -878,7 +878,7 @@ void MidiParser_EuD::parseNextEvent(EventInfo &info) { pos += 6; } } else if (cmd == 0xF2) { - static uint16 tickTable [] = { 0x180, 0xC0, 0x80, 0x60, 0x40, 0x30, 0x20, 0x18 }; + static const uint16 tickTable[] = { 0x180, 0xC0, 0x80, 0x60, 0x40, 0x30, 0x20, 0x18 }; _baseTick += tickTable[_nextBaseTickStep >> 4] * ((_nextBaseTickStep & 0x0f) + 1); _nextBaseTickStep = pos[1]; pos += 6; |