diff options
author | Johannes Schickel | 2010-04-05 07:22:34 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-04-05 07:22:34 +0000 |
commit | de3dd04005f802059833df1f5ac09da5c1f015c4 (patch) | |
tree | 5d3762c55af5fb28418a7150930bb24d9ce5c0b3 /engines/tinsel/play.cpp | |
parent | 29a8cb651a09e6d42e9bf123e3866d20373dc316 (diff) | |
download | scummvm-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.cpp | 5 |
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); |