aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/screen.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-10-13 03:28:59 +0000
committerMatthew Hoops2010-10-13 03:28:59 +0000
commit07abe3d6038de672d82446b7a2d289977cd972fb (patch)
tree79db9b909eb462cbbe75870d10c0ed10d9fd7dfc /engines/sci/graphics/screen.cpp
parente9f50882ea5b6beeefa994040be9d3bab6a1f107 (diff)
downloadscummvm-rg350-07abe3d6038de672d82446b7a2d289977cd972fb.tar.gz
scummvm-rg350-07abe3d6038de672d82446b7a2d289977cd972fb.tar.bz2
scummvm-rg350-07abe3d6038de672d82446b7a2d289977cd972fb.zip
SCI: Add detection for Hoyle4 Mac
svn-id: r53397
Diffstat (limited to 'engines/sci/graphics/screen.cpp')
-rw-r--r--engines/sci/graphics/screen.cpp6
1 files changed, 3 insertions, 3 deletions
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)