diff options
author | Bertrand Augereau | 2011-11-21 14:33:36 +0100 |
---|---|---|
committer | Bertrand Augereau | 2011-11-21 14:33:36 +0100 |
commit | 34d85734e65ccf7103f06fc7682921da5d16ab8d (patch) | |
tree | ff7a7e943bb07378bed00691e3828f1084cdf2e8 /engines/dreamweb/stubs.cpp | |
parent | 1e80ac08858ecbf2c32f906f4eb0552bf5bee666 (diff) | |
download | scummvm-rg350-34d85734e65ccf7103f06fc7682921da5d16ab8d.tar.gz scummvm-rg350-34d85734e65ccf7103f06fc7682921da5d16ab8d.tar.bz2 scummvm-rg350-34d85734e65ccf7103f06fc7682921da5d16ab8d.zip |
DREAMWEB: Stub wrappers with a better signature for 'playchannel[0|1]'
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 2bfa3849c6..5ee27e1878 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -544,8 +544,7 @@ void DreamGenContext::setuptimedtemp(uint8 textIndex, uint8 voiceIndex, uint8 x, al = textIndex; loadspeech(); if (data.byte(kSpeechloaded) == 1) { - al = 50+12; - playchannel1(); + playchannel1(50+12); } dx = pop(); cx = pop(); @@ -2204,5 +2203,15 @@ Frame * DreamGenContext::tempGraphics3() { return (Frame *)segRef(data.word(kTempgraphics3)).ptr(0, 0); } +void DreamGenContext::playchannel0(uint8 index) { + al = index; + playchannel0(); +} + +void DreamGenContext::playchannel1(uint8 index) { + al = index; + playchannel1(); +} + } /*namespace dreamgen */ |