aboutsummaryrefslogtreecommitdiff
path: root/script_v2.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-04-21 21:33:47 +0000
committerVincent Hamm2002-04-21 21:33:47 +0000
commitdb4e910422fd0f84c7670d15fb76827afdee0dd3 (patch)
treeaf6e84fcef0a7cbd16e864fc031e2f06862ccb1a /script_v2.cpp
parent7c95649ba565bce18496f5c0f54145bda9f09940 (diff)
downloadscummvm-rg350-db4e910422fd0f84c7670d15fb76827afdee0dd3.tar.gz
scummvm-rg350-db4e910422fd0f84c7670d15fb76827afdee0dd3.tar.bz2
scummvm-rg350-db4e910422fd0f84c7670d15fb76827afdee0dd3.zip
Implemented another miscop. Now the music in the BigFoot bal room is correct
svn-id: r4040
Diffstat (limited to 'script_v2.cpp')
-rw-r--r--script_v2.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/script_v2.cpp b/script_v2.cpp
index 51fc7e96a0..568ed9078e 100644
--- a/script_v2.cpp
+++ b/script_v2.cpp
@@ -23,6 +23,8 @@
#include "stdafx.h"
#include "scumm.h"
+#include "sound/mididrv.h"
+#include "sound/imuse.h"
void Scumm::setupOpcodes2()
{
@@ -2671,6 +2673,7 @@ void Scumm::o6_miscOps()
int16 args[30];
int i;
Actor *a;
+ IMuse *se = _imuse; //yazoo: not very nice
getStackList(args, sizeof(args) / sizeof(args[0]));
@@ -2842,10 +2845,9 @@ void Scumm::o6_miscOps()
break;
case 122:
- warning("stub o6_miscOps_122(%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d)",
- args[1], args[2], args[3], args[4],
- args[5], args[6], args[7], args[8],
- args[9], args[10], args[11], args[12]);
+ _vars[VAR_SOUNDRESULT] = se->do_command( args[1], args[2], args[3], args[4],
+ args[5], args[6], args[7], args[8]
+ );
break;
case 123: