diff options
author | Martin Kiewitz | 2010-05-12 11:55:39 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-05-12 11:55:39 +0000 |
commit | 9d3c8d49104aa2eba0865ef378c97955f262e907 (patch) | |
tree | 6921eee4cfcc8e909f07d4246c6f9f2546ef9b9e /engines | |
parent | dae53f7d747588a37b3aa2080373fdcfef52060c (diff) | |
download | scummvm-rg350-9d3c8d49104aa2eba0865ef378c97955f262e907.tar.gz scummvm-rg350-9d3c8d49104aa2eba0865ef378c97955f262e907.tar.bz2 scummvm-rg350-9d3c8d49104aa2eba0865ef378c97955f262e907.zip |
SCI: dont restore port settings for SCI0 games (fixes sq3 wrong font used when scanning for planets)
svn-id: r49012
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/paint16.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/graphics/paint16.cpp b/engines/sci/graphics/paint16.cpp index a769ca4314..20d452c24f 100644 --- a/engines/sci/graphics/paint16.cpp +++ b/engines/sci/graphics/paint16.cpp @@ -534,7 +534,10 @@ reg_t GfxPaint16::kernelDisplay(const char *text, int argc, reg_t *argv) { Port *currport = _ports->getPort(); uint16 tTop = currport->curTop; uint16 tLeft = currport->curLeft; - *currport = oldPort; + if (getSciVersion() >= SCI_VERSION_01) { + // Restore port settings for SCI01+ only + *currport = oldPort; + } currport->curTop = tTop; currport->curLeft = tLeft; return result; |