mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 09:49:11 +00:00
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:
parent
dae53f7d74
commit
9d3c8d4910
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user