aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2005-04-13 13:32:58 +0000
committerEugene Sandulenko2005-04-13 13:32:58 +0000
commit4532652b39e026ecb679d5fa42ffd84e98551ac0 (patch)
tree16977fd3657105e8c0695252f0abd759939cbd26
parent59e96ca993a23eba56a11612dccc3bf7bb54c6a9 (diff)
downloadscummvm-rg350-4532652b39e026ecb679d5fa42ffd84e98551ac0.tar.gz
scummvm-rg350-4532652b39e026ecb679d5fa42ffd84e98551ac0.tar.bz2
scummvm-rg350-4532652b39e026ecb679d5fa42ffd84e98551ac0.zip
Fix bug #1182206 "Maniac Mansion (NES) doesn't run anymore after Apr 10 commit"
svn-id: r17585
-rw-r--r--scumm/scumm.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 2d4e576da6..57604deb39 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1402,7 +1402,11 @@ int ScummEngine::init(GameDetector &detector) {
if (_imuse) {
_imuse->setBase(res.address[rtSound]);
}
- _sound->setupSound();
+
+ // Since MM NES substitutes whole file class we get monster.sou file
+ // name badly generated, so avoid even attempts to open it
+ if (!(_features & GF_NES))
+ _sound->setupSound();
// Create debugger
if (!_debugger)