aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/graphics/ports.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index 43671f79ec..8802d1ccb2 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -388,7 +388,8 @@ Port *GfxPorts::getPort() {
}
void GfxPorts::setOrigin(int16 left, int16 top) {
- _curPort->left = left;
+ // This looks fishy, but it's exactly what sierra did. They removed last bit of left in their interpreter
+ _curPort->left = left & 0x7FFE;
_curPort->top = top;
}