SCI: dont restore port settings for SCI0 games (fixes sq3 wrong font used when scanning for planets)

svn-id: r49012
This commit is contained in:
Martin Kiewitz 2010-05-12 11:55:39 +00:00
parent dae53f7d74
commit 9d3c8d4910

View File

@ -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;