diff options
author | sluicebox | 2019-08-20 18:54:24 -0700 |
---|---|---|
committer | Filippos Karapetis | 2019-08-21 14:13:26 +0300 |
commit | 60fcf993e7c19cf3c3c5e74c2dd447e2e2b2c4ac (patch) | |
tree | 1e7347bfa807b79f2eff2169a0ee273cb56d17f7 /engines | |
parent | 83a479470ff467ced73ee97e2d5ed7203071050a (diff) | |
download | scummvm-rg350-60fcf993e7c19cf3c3c5e74c2dd447e2e2b2c4ac.tar.gz scummvm-rg350-60fcf993e7c19cf3c3c5e74c2dd447e2e2b2c4ac.tar.bz2 scummvm-rg350-60fcf993e7c19cf3c3c5e74c2dd447e2e2b2c4ac.zip |
GRAPHICS: Display Mac monochrome cursor inverted pixels
Bug #7050
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/cursor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp index bcddd16083..c2d737b32b 100644 --- a/engines/sci/graphics/cursor.cpp +++ b/engines/sci/graphics/cursor.cpp @@ -508,7 +508,10 @@ void GfxCursor::kernelSetMacCursor(GuiResourceId viewNum, int loopNum, int celNu Common::MemoryReadStream resStream(resource->toStream()); Graphics::MacCursor *macCursor = new Graphics::MacCursor(); - if (!macCursor->readFromStream(resStream)) { + // use black for mac monochrome inverted pixels so that cursor + // features in FPFP and KQ6 Mac are displayed, bug #7050 + byte macMonochromeInvertedPixelColor = 0; + if (!macCursor->readFromStream(resStream, false, macMonochromeInvertedPixelColor)) { warning("Failed to load Mac cursor %d", viewNum); delete macCursor; return; |