aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorJohannes Schickel2011-09-08 00:35:12 +0200
committerJohannes Schickel2011-09-08 00:35:12 +0200
commit5443ef943fc4758ee9b1bf8842b0cde02d4f0a59 (patch)
treef0db840984d1da97ed06c26dcfde2d634a0e32aa /engines/sci/sound
parent1fa858d33910ae92cb19ac3cda8b77a2f104e8dc (diff)
downloadscummvm-rg350-5443ef943fc4758ee9b1bf8842b0cde02d4f0a59.tar.gz
scummvm-rg350-5443ef943fc4758ee9b1bf8842b0cde02d4f0a59.tar.bz2
scummvm-rg350-5443ef943fc4758ee9b1bf8842b0cde02d4f0a59.zip
SCI: Made some static data const.
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/drivers/gm_names.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/sound/drivers/gm_names.h b/engines/sci/sound/drivers/gm_names.h
index bfe5ff88c7..fbfa413a4a 100644
--- a/engines/sci/sound/drivers/gm_names.h
+++ b/engines/sci/sound/drivers/gm_names.h
@@ -30,7 +30,7 @@ namespace Sci {
// is defined
#ifndef REDUCE_MEMORY_USAGE
-static const char *GmInstrumentNames[] = {
+static const char *const GmInstrumentNames[] = {
/*000*/ "Acoustic Grand Piano",
/*001*/ "Bright Acoustic Piano",
/*002*/ "Electric Grand Piano",
@@ -162,7 +162,7 @@ static const char *GmInstrumentNames[] = {
};
// The GM Percussion map is downwards compatible to the MT32 map, which is used in SCI
-static const char *GmPercussionNames[] = {
+static const char *const GmPercussionNames[] = {
/*00*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/*10*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/*20*/ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,