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
This commit is contained in:
Filippos Karapetis 2016-02-20 13:53:38 +02:00
parent 53ed7f6ac1
commit 1dd7844c99

View file

@ -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)