aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-22 20:40:41 +0000
committerMartin Kiewitz2010-06-22 20:40:41 +0000
commita836f965f8c313fad8d3f36b94ccec4bf5c0c00b (patch)
tree6e7ad53a73175f07e9a9eff48eba1d10f71c7c43 /engines
parent99807b88945082ac029710c4ab9be5322c04e0ea (diff)
downloadscummvm-rg350-a836f965f8c313fad8d3f36b94ccec4bf5c0c00b.tar.gz
scummvm-rg350-a836f965f8c313fad8d3f36b94ccec4bf5c0c00b.tar.bz2
scummvm-rg350-a836f965f8c313fad8d3f36b94ccec4bf5c0c00b.zip
SCI: set offTop to 26 for mixed up fairy tales to fix all sorts of non-fully-removed windows
svn-id: r50166
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/ports.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index 8ba7c57b62..9f0edb290f 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -90,6 +90,9 @@ void GfxPorts::init(bool usesOldGfxFunctions, GfxPaint16 *paint16, GfxText16 *te
Common::String gameId = g_sci->getGameId();
if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3" || gameId == "hoyle4" || (gameId == "mothergoose" && getSciVersion() == SCI_VERSION_1_EARLY))
offTop = 0;
+ // Mixed-Up Fairy Tales uses -w 26 0 200 320. If we don't also do this we will get not-fully-removed windows everywhere
+ if (gameId == "fairytales")
+ offTop = 26;
openPort(_wmgrPort);
setPort(_wmgrPort);