aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2016-02-20 13:53:38 +0200
committerFilippos Karapetis2016-02-20 13:57:10 +0200
commit1dd7844c992187ff5536bd72620c9c69e665f345 (patch)
tree121cdf135224cd9552451903e727cc01fec9c3d4 /engines/sci
parent53ed7f6ac171b0a6478763121873692b535ec798 (diff)
downloadscummvm-rg350-1dd7844c992187ff5536bd72620c9c69e665f345.tar.gz
scummvm-rg350-1dd7844c992187ff5536bd72620c9c69e665f345.tar.bz2
scummvm-rg350-1dd7844c992187ff5536bd72620c9c69e665f345.zip
SCI: kernelSetZoomZone is a stub in Mac versions. Fixes bug #7040
Cursor handling is quite different in Mac SCI versions. Among other changes, the screen where a zoom cursor was used in Freddy Pharkas has been redesigned to work without such a cursor, and the relevant zoom cursor call has been stubbed
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/cursor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp
index 1a58de073c..4f08bc3599 100644
--- a/engines/sci/graphics/cursor.cpp
+++ b/engines/sci/graphics/cursor.cpp
@@ -453,6 +453,10 @@ void GfxCursor::kernelClearZoomZone() {
void GfxCursor::kernelSetZoomZone(byte multiplier, Common::Rect zone, GuiResourceId viewNum, int loopNum, int celNum, GuiResourceId picNum, byte zoomColor) {
kernelClearZoomZone();
+ // This function is a stub in Mac versions
+ if (g_sci->getPlatform() == Common::kPlatformMacintosh)
+ return;
+
_zoomMultiplier = multiplier;
if (_zoomMultiplier != 1 && _zoomMultiplier != 2 && _zoomMultiplier != 4)