diff options
author | Martin Kiewitz | 2010-04-22 17:41:04 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-04-22 17:41:04 +0000 |
commit | 4fbea9d02dc083b78ec95ec29ccd88c986d47e29 (patch) | |
tree | ea1eea0003de8c9b335f4d6ae5411604f3e137ba /engines/sci | |
parent | e25651a4675e25c14521daa81ba4768642c88cce (diff) | |
download | scummvm-rg350-4fbea9d02dc083b78ec95ec29ccd88c986d47e29.tar.gz scummvm-rg350-4fbea9d02dc083b78ec95ec29ccd88c986d47e29.tar.bz2 scummvm-rg350-4fbea9d02dc083b78ec95ec29ccd88c986d47e29.zip |
SCI: make setOrigin() for ports behave like in sierra sci, fixes qfg1ega character screen issues ("moving" controls), fixes jones/vga 1 pixel-off windows
svn-id: r48772
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/ports.cpp | 3 |
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; } |