aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r--engines/dreamweb/stubs.cpp13
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 */