diff options
author | Matthew Hoops | 2010-01-31 23:53:25 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-01-31 23:53:25 +0000 |
commit | d1bc12300cc52997d017ff8d92f41ea4ac01fd70 (patch) | |
tree | 4a764c2e6712880c2a5c31a12e7458082aeb641a | |
parent | c5be030077d5a148eb376b5acb78af1499c0a58b (diff) | |
download | scummvm-rg350-d1bc12300cc52997d017ff8d92f41ea4ac01fd70.tar.gz scummvm-rg350-d1bc12300cc52997d017ff8d92f41ea4ac01fd70.tar.bz2 scummvm-rg350-d1bc12300cc52997d017ff8d92f41ea4ac01fd70.zip |
mothergoose SCI1 starts at the top of the screen, so set offTop to 0 for that version.
svn-id: r47786
-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 5731bb6b29..4da451bdde 100644 --- a/engines/sci/graphics/ports.cpp +++ b/engines/sci/graphics/ports.cpp @@ -85,8 +85,9 @@ void GfxPorts::init(SciGui *gui, GfxPaint16 *paint16, GfxText16 *text16, Common: // resulting in problems. // Jones, Slater and Hoyle 3 were called with parameter -Nw 0 0 200 320. + // Mother Goose (SCI1) uses -Nw 0 0 159 262. The game will later use SetPort so we don't need to set the other fields. // This actually meant not skipping the first 10 pixellines in windowMgrPort - if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3") + if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3" || (gameId == "mothergoose" && getSciVersion() == SCI_VERSION_1_EARLY)) offTop = 0; openPort(_wmgrPort); |