aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/soundcmd.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-18 22:39:56 +0000
committerMartin Kiewitz2010-01-18 22:39:56 +0000
commitbab35a399156cba3d125c96e39ac96161289caf4 (patch)
tree281ac6d7ca3cf98dd35c1eb548cdda1a62bfb07f /engines/sci/sound/soundcmd.h
parent7112cfe8a27bb5ae3a693332f26aa246d1c8c3e6 (diff)
downloadscummvm-rg350-bab35a399156cba3d125c96e39ac96161289caf4.tar.gz
scummvm-rg350-bab35a399156cba3d125c96e39ac96161289caf4.tar.bz2
scummvm-rg350-bab35a399156cba3d125c96e39ac96161289caf4.zip
SCI: dont set dataInc selector inside updateCues when dataInc is not available
svn-id: r47362
Diffstat (limited to 'engines/sci/sound/soundcmd.h')
-rw-r--r--engines/sci/sound/soundcmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/sound/soundcmd.h b/engines/sci/sound/soundcmd.h
index 7c1995e8d4..590aba6388 100644
--- a/engines/sci/sound/soundcmd.h
+++ b/engines/sci/sound/soundcmd.h
@@ -46,7 +46,7 @@ struct MusicEntryCommand {
class SoundCommandParser {
public:
- SoundCommandParser(ResourceManager *resMan, SegManager *segMan, AudioPlayer *audio, SciVersion soundVersion);
+ SoundCommandParser(ResourceManager *resMan, SegManager *segMan, Kernel *kernel, AudioPlayer *audio, SciVersion soundVersion);
~SoundCommandParser();
enum {
@@ -81,6 +81,7 @@ private:
SoundCommandContainer _soundCommands;
ResourceManager *_resMan;
SegManager *_segMan;
+ Kernel *_kernel;
#ifdef USE_OLD_MUSIC_FUNCTIONS
SfxState *_state;
int _midiCmd, _controller, _param;