aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2003-04-22 14:49:29 +0000
committerJonathan Gray2003-04-22 14:49:29 +0000
commit90610fef1a7a4f4dd6a36845f9df3945383fcb76 (patch)
tree8ef7cd746e13161c2a94bfeca21d5f8b7eb428ff /scumm
parentd60bc445874cba6a4cb7ad4ca67b2a3ba4d0df4a (diff)
downloadscummvm-rg350-90610fef1a7a4f4dd6a36845f9df3945383fcb76.tar.gz
scummvm-rg350-90610fef1a7a4f4dd6a36845f9df3945383fcb76.tar.bz2
scummvm-rg350-90610fef1a7a4f4dd6a36845f9df3945383fcb76.zip
opcode E0 DE is sound volume change
svn-id: r7073
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index ebd29c8aa9..1e1a474731 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -916,7 +916,7 @@ void Scumm_v6::o6_getOwner() {
void Scumm_v6::o6_startSound() {
if ((_features & GF_HUMONGOUS) && (_gameId != GID_PUTTDEMO))
- pop();
+ pop(); // offset which seems to always be zero
_sound->addSoundToQueue(pop());
}
@@ -2980,15 +2980,14 @@ void Scumm_v6::o6_unknownE1() {
void Scumm_v6::o6_unknownE0() {
int a = fetchScriptByte();
- warning("o6_unknownEO(%d) stub", a);
a -= 222;
if (a != 0) {
a -= 2;
if (a != 0)
return;
- pop();
+ warning("o6_unknownE0(%d) stub", pop());
} else {
- pop();
+ warning("o6_uknownE0, sound volume %d stub", pop());
}
}