From 07abe3d6038de672d82446b7a2d289977cd972fb Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 13 Oct 2010 03:28:59 +0000 Subject: SCI: Add detection for Hoyle4 Mac svn-id: r53397 --- engines/sci/graphics/screen.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sci/graphics') diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp index 6eabc7c9f0..7a10a6b749 100644 --- a/engines/sci/graphics/screen.cpp +++ b/engines/sci/graphics/screen.cpp @@ -122,9 +122,9 @@ GfxScreen::GfxScreen(ResourceManager *resMan) : _resMan(resMan) { // Initialize the actual screen - if (_resMan->isSci11Mac() && getSciVersion() == SCI_VERSION_1_1) { - // For SCI1.1 Mac, we need to expand the screen to accommodate for - // the icon bar. Of course, both KQ6 and QFG1 VGA differ in size. + 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. if (g_sci->getGameId() == GID_KQ6) initGraphics(_displayWidth, _displayHeight + 26, _displayWidth > 320); else if (g_sci->getGameId() == GID_QFG1VGA) -- cgit v1.2.3