aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-03 11:25:20 +0000
committerEugene Sandulenko2010-08-03 11:25:20 +0000
commit02cca98ed6fce6d7aced41974eaf2fd1622f207c (patch)
tree6f254e71ba2cc7daaad59036119def095693df78 /engines/scumm/scumm.cpp
parent0437ffa75c510f0bb8a3a5cd580b79008446522e (diff)
downloadscummvm-rg350-02cca98ed6fce6d7aced41974eaf2fd1622f207c.tar.gz
scummvm-rg350-02cca98ed6fce6d7aced41974eaf2fd1622f207c.tar.bz2
scummvm-rg350-02cca98ed6fce6d7aced41974eaf2fd1622f207c.zip
SCUMM: Add posibility to disable NES APU which is CPU demanding
svn-id: r51679
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r--engines/scumm/scumm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index b44184f5cb..fc95060b6f 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1723,7 +1723,9 @@ void ScummEngine::setupMusic(int midi) {
_musicEngine = new Player_SID(this, _mixer);
#endif
} else if (_game.platform == Common::kPlatformNES && _game.version == 1) {
+#ifndef DISABLE_NES_APU
_musicEngine = new Player_NES(this, _mixer);
+#endif
} else if (_game.platform == Common::kPlatformAmiga && _game.version == 2) {
_musicEngine = new Player_V2A(this, _mixer);
} else if (_game.platform == Common::kPlatformAmiga && _game.version == 3) {