diff options
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/player_sid.cpp | 4 | ||||
-rw-r--r-- | engines/scumm/scumm.cpp | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/player_sid.cpp b/engines/scumm/player_sid.cpp index 0d7bb380b9..a17343b4a4 100644 --- a/engines/scumm/player_sid.cpp +++ b/engines/scumm/player_sid.cpp @@ -23,6 +23,8 @@ * */ +#ifndef DISABLE_SID + #include "engines/engine.h" #include "scumm/player_sid.h" #include "scumm/scumm.h" @@ -1389,3 +1391,5 @@ int Player_SID::getMusicTimer() { } } // End of namespace Scumm + +#endif diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 3e30ea04cc..c2a2d621af 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -1710,7 +1710,9 @@ void ScummEngine::setupMusic(int midi) { } else if (_game.platform == Common::kPlatformApple2GS && _game.version == 0){ // TODO: Add support for music format } else if (_game.platform == Common::kPlatformC64 && _game.version <= 1) { +#ifndef DISABLE_SID _musicEngine = new Player_SID(this, _mixer); +#endif } else if (_game.platform == Common::kPlatformNES && _game.version == 1) { _musicEngine = new Player_NES(this, _mixer); } else if (_game.platform == Common::kPlatformAmiga && _game.version == 2) { |