aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/drivers/gm_names.h
diff options
context:
space:
mode:
authormd52011-05-13 16:12:52 +0300
committermd52011-05-13 16:12:52 +0300
commitbd2bfe85c97189e72199e5d0554ec4bd192a80b2 (patch)
tree3fd31dc25242678cc1080fa01c24720dc08c5605 /engines/sci/sound/drivers/gm_names.h
parent9ec64a66fe2f20eb1be0811b5f733332efff1b93 (diff)
downloadscummvm-rg350-bd2bfe85c97189e72199e5d0554ec4bd192a80b2.tar.gz
scummvm-rg350-bd2bfe85c97189e72199e5d0554ec4bd192a80b2.tar.bz2
scummvm-rg350-bd2bfe85c97189e72199e5d0554ec4bd192a80b2.zip
SCI: Don't include several debug tables when REDUCE_MEMORY_USAGE is defined
Diffstat (limited to 'engines/sci/sound/drivers/gm_names.h')
-rw-r--r--engines/sci/sound/drivers/gm_names.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/sound/drivers/gm_names.h b/engines/sci/sound/drivers/gm_names.h
index 915996e4f7..bfe5ff88c7 100644
--- a/engines/sci/sound/drivers/gm_names.h
+++ b/engines/sci/sound/drivers/gm_names.h
@@ -25,6 +25,11 @@
namespace Sci {
+// These tables are only used for debugging. Don't include them for devices
+// with not enough available memory (e.g. phones), where REDUCE_MEMORY_USAGE
+// is defined
+#ifndef REDUCE_MEMORY_USAGE
+
static const char *GmInstrumentNames[] = {
/*000*/ "Acoustic Grand Piano",
/*001*/ "Bright Acoustic Piano",
@@ -212,6 +217,8 @@ static const char *GmPercussionNames[] = {
/*81*/ "Open Triangle"
};
+#endif // REDUCE_MEMORY_USAGE
+
} // End of namespace Sci
#endif // SCI_SOUND_DRIVERS_GM_NAMES_H