diff options
author | Martin Kiewitz | 2010-08-02 18:04:23 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-08-02 18:04:23 +0000 |
commit | 512fec56c7bc3095463c4eaaf4c8e84d3113b151 (patch) | |
tree | 8ac12797d7778223987cfe5687e94763feb12e54 /engines | |
parent | bcfb8a030ae03b777ae2dbddfea0567509fb200f (diff) | |
download | scummvm-rg350-512fec56c7bc3095463c4eaaf4c8e84d3113b151.tar.gz scummvm-rg350-512fec56c7bc3095463c4eaaf4c8e84d3113b151.tar.bz2 scummvm-rg350-512fec56c7bc3095463c4eaaf4c8e84d3113b151.zip |
SCI: adding offTop = 0 for mother goose sci1.1
fixes graphics in that game
svn-id: r51643
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/ports.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp index 9268888b6c..2137de39de 100644 --- a/engines/sci/graphics/ports.cpp +++ b/engines/sci/graphics/ports.cpp @@ -99,8 +99,15 @@ void GfxPorts::init(bool usesOldGfxFunctions, GfxPaint16 *paint16, GfxText16 *te offTop = 0; break; case GID_MOTHERGOOSE: - if (getSciVersion() == SCI_VERSION_1_EARLY) + // TODO: if mother goose EGA also uses offTop we can simply remove this check altogether + switch (getSciVersion()) { + case SCI_VERSION_1_EARLY: + case SCI_VERSION_1_1: offTop = 0; + break; + default: + break; + } break; case GID_FAIRYTALES: // Mixed-Up Fairy Tales (& its demo) uses -w 26 0 200 320. If we don't |