aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/play.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-04-05 07:22:34 +0000
committerJohannes Schickel2010-04-05 07:22:34 +0000
commitde3dd04005f802059833df1f5ac09da5c1f015c4 (patch)
tree5d3762c55af5fb28418a7150930bb24d9ce5c0b3 /engines/tinsel/play.cpp
parent29a8cb651a09e6d42e9bf123e3866d20373dc316 (diff)
downloadscummvm-rg350-de3dd04005f802059833df1f5ac09da5c1f015c4.tar.gz
scummvm-rg350-de3dd04005f802059833df1f5ac09da5c1f015c4.tar.bz2
scummvm-rg350-de3dd04005f802059833df1f5ac09da5c1f015c4.zip
Commit of the updated version of Fingolfin's patch for bug #2981788 "TINSEL: Build with -O2 broken".
svn-id: r48534
Diffstat (limited to 'engines/tinsel/play.cpp')
-rw-r--r--engines/tinsel/play.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/tinsel/play.cpp b/engines/tinsel/play.cpp
index 54281c9d7a..103b8f42ad 100644
--- a/engines/tinsel/play.cpp
+++ b/engines/tinsel/play.cpp
@@ -376,10 +376,9 @@ static void SoundReel(CORO_PARAM, SCNHANDLE hFilm, int column, int speed,
CORO_END_CODE;
}
-static void ResSoundReel(CORO_PARAM, const void *) {
+static void ResSoundReel(CORO_PARAM, const void *param) {
// get the stuff copied to process when it was created
- PPROCESS pProc = g_scheduler->getCurrentProcess();
- int i = *(int *)pProc->param;
+ int i = *(const int *)param;
CORO_BEGIN_CONTEXT;
CORO_END_CONTEXT(_ctx);