aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-11-04 14:17:14 +0000
committerFilippos Karapetis2009-11-04 14:17:14 +0000
commitf83d7c6339258cef9d1c53d91a4e2d7b2637d1ec (patch)
treeae2fdda61c15f0882f96fbe1c4cc16d7cd474ffa /engines
parent7030588e2208d14df275f871f272de068cff6335 (diff)
downloadscummvm-rg350-f83d7c6339258cef9d1c53d91a4e2d7b2637d1ec.tar.gz
scummvm-rg350-f83d7c6339258cef9d1c53d91a4e2d7b2637d1ec.tar.bz2
scummvm-rg350-f83d7c6339258cef9d1c53d91a4e2d7b2637d1ec.zip
Reapplied the LSL1 casino workaround, which got disabled accidentally in commit #45661
svn-id: r45665
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kgraphics.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 1950a606ac..37aa8e2665 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -496,10 +496,10 @@ reg_t kBaseSetter(EngineState *s, int argc, reg_t *argv) {
// WORKAROUND for a problem in LSL1VGA. This allows the casino door to be opened,
// till the actual problem is found
- //if (s->_gameName == "lsl1sci" && s->currentRoomNumber() == 300) {
- // int top = GET_SEL32V(s->_segMan, object, brTop);
- // PUT_SEL32V(s->_segMan, object, brTop, top + 2);
- //}
+ if (s->_gameName == "lsl1sci" && s->currentRoomNumber() == 300) {
+ int top = GET_SEL32V(s->_segMan, object, brTop);
+ PUT_SEL32V(s->_segMan, object, brTop, top + 2);
+ }
return s->r_acc;
}