aboutsummaryrefslogtreecommitdiff
path: root/sound/mods
diff options
context:
space:
mode:
authorNorbert Lange2009-08-04 18:24:39 +0000
committerNorbert Lange2009-08-04 18:24:39 +0000
commitfc8e269c364dc8d0104a42047bfe6e34a69f7ff7 (patch)
treea185323f39ddc7496c96a94105117434a560d7f5 /sound/mods
parent4c4eb1394cf195952b59e7e06963736df41eeb5f (diff)
downloadscummvm-rg350-fc8e269c364dc8d0104a42047bfe6e34a69f7ff7.tar.gz
scummvm-rg350-fc8e269c364dc8d0104a42047bfe6e34a69f7ff7.tar.bz2
scummvm-rg350-fc8e269c364dc8d0104a42047bfe6e34a69f7ff7.zip
cleaned up sound_amiga.cpp a bit, added checks for missing files
svn-id: r43050
Diffstat (limited to 'sound/mods')
-rw-r--r--sound/mods/maxtrax.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/mods/maxtrax.cpp b/sound/mods/maxtrax.cpp
index 6b1701d63e..ceaadd2ccb 100644
--- a/sound/mods/maxtrax.cpp
+++ b/sound/mods/maxtrax.cpp
@@ -621,7 +621,6 @@ int MaxTrax::playNote(byte note, byte patch, uint16 duration, uint16 volume, boo
bool MaxTrax::load(Common::SeekableReadStream &musicData, bool loadScores, bool loadSamples) {
Common::StackLock lock(_mutex);
- bool res = false;
stopMusic();
if (loadSamples)
freePatches();
@@ -737,7 +736,7 @@ bool MaxTrax::load(Common::SeekableReadStream &musicData, bool loadScores, bool
}
musicData.skip(skipLen - 3 * 2);
} */
- return res;
+ return true;
}
} // End of namespace Audio \ No newline at end of file