diff options
author | Martin Kiewitz | 2010-07-17 19:52:19 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-17 19:52:19 +0000 |
commit | 723f15c0848e828a6877365ff0453d16ebcb0589 (patch) | |
tree | b7b09965f8a63942269d8d1890789b3e2353ab51 /engines/sci/engine/kgraphics.cpp | |
parent | 48b288d9aa3fdb6079ec5d5be1cc56f1f446f945 (diff) | |
download | scummvm-rg350-723f15c0848e828a6877365ff0453d16ebcb0589.tar.gz scummvm-rg350-723f15c0848e828a6877365ff0453d16ebcb0589.tar.bz2 scummvm-rg350-723f15c0848e828a6877365ff0453d16ebcb0589.zip |
SCI: removing kSetPort 4 argument support from r44938, which was wrong - adding workaround for lsl6 ending - fixes lsl6 ending
svn-id: r50967
Diffstat (limited to 'engines/sci/engine/kgraphics.cpp')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 7d5e30ed6e..22ccf843d6 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -965,14 +965,13 @@ reg_t kSetPort(EngineState *s, int argc, reg_t *argv) { case 7: initPriorityBandsFlag = true; - case 4: case 6: picRect.top = argv[0].toSint16(); picRect.left = argv[1].toSint16(); picRect.bottom = argv[2].toSint16(); picRect.right = argv[3].toSint16(); - picTop = (argc >= 6) ? argv[4].toSint16() : 0; - picLeft = (argc >= 6) ? argv[5].toSint16() : 0; + picTop = argv[4].toSint16(); + picLeft = argv[5].toSint16(); g_sci->_gfxPorts->kernelSetPicWindow(picRect, picTop, picLeft, initPriorityBandsFlag); break; |