diff options
author | Matthew Hoops | 2011-02-17 13:28:34 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-02-17 13:38:24 -0500 |
commit | d3e3eca6a30d8aa9f23b1811b3ae86b8d2419b7f (patch) | |
tree | 8b6459dc073984848c1205424dfb147682a5aadc /engines/sci/graphics/screen.cpp | |
parent | 266806d8925330ec0d9e020fafffd74a2cb272e6 (diff) | |
download | scummvm-rg350-d3e3eca6a30d8aa9f23b1811b3ae86b8d2419b7f.tar.gz scummvm-rg350-d3e3eca6a30d8aa9f23b1811b3ae86b8d2419b7f.tar.bz2 scummvm-rg350-d3e3eca6a30d8aa9f23b1811b3ae86b8d2419b7f.zip |
SCI: Fix Mac icon bar vertical positioning
Diffstat (limited to 'engines/sci/graphics/screen.cpp')
-rw-r--r-- | engines/sci/graphics/screen.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp index 6a045f1e8b..a0f402f833 100644 --- a/engines/sci/graphics/screen.cpp +++ b/engines/sci/graphics/screen.cpp @@ -132,10 +132,12 @@ GfxScreen::GfxScreen(ResourceManager *resMan) : _resMan(resMan) { if (g_sci->hasMacIconBar()) { // For SCI1.1 Mac games with the custom icon bar, we need to expand the screen // to accommodate for the icon bar. Of course, both KQ6 and QFG1 VGA differ in size. + // We add 2 to the height of the icon bar to add a buffer between the screen and the + // icon bar (as did the original interpreter). if (g_sci->getGameId() == GID_KQ6) - initGraphics(_displayWidth, _displayHeight + 26, _displayWidth > 320); + initGraphics(_displayWidth, _displayHeight + 26 + 2, _displayWidth > 320); else if (g_sci->getGameId() == GID_FREDDYPHARKAS) - initGraphics(_displayWidth, _displayHeight + 28, _displayWidth > 320); + initGraphics(_displayWidth, _displayHeight + 28 + 2, _displayWidth > 320); else error("Unknown SCI1.1 Mac game"); } else |