aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-11 11:52:17 +0000
committerMartin Kiewitz2010-07-11 11:52:17 +0000
commit38d79f60e3217debbf99c971a87ea581c00f007f (patch)
tree43dc6789c96bdc9fdc718d113d2f72161317a5c0 /engines/sci/sound
parent110d644f492ce624f70c62639b5fb01832022a58 (diff)
downloadscummvm-rg350-38d79f60e3217debbf99c971a87ea581c00f007f.tar.gz
scummvm-rg350-38d79f60e3217debbf99c971a87ea581c00f007f.tar.bz2
scummvm-rg350-38d79f60e3217debbf99c971a87ea581c00f007f.zip
SCI: changing signature for kDoSound(resume) it seems its called right after restoring to resume music - which we do already automatically
svn-id: r50800
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/soundcmd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index 11b0215a32..51832af09f 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -251,6 +251,9 @@ reg_t SoundCommandParser::kDoSoundPause(int argc, reg_t *argv, reg_t acc) {
// SCI0 only command
reg_t SoundCommandParser::kDoSoundResume(int argc, reg_t *argv, reg_t acc) {
+ // this doesn't seem to do what we think it's doing
+ // it's called with no arguments at all (just restore a game in qfg1)
+ return acc;
reg_t obj = argv[0];
MusicEntry *musicSlot = _music->getSlot(obj);