mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
MTROPOLIS: Fix crash in Spider oil puzzle tower map viewer
This commit is contained in:
parent
35a3ad904d
commit
18466585a1
@ -739,7 +739,7 @@ const Common::SharedPtr<Graphics::Surface> &CachedImage::optimize(Runtime *runti
|
||||
|
||||
const byte *palette = nullptr;
|
||||
|
||||
if (_colorDepth == kColorDepthMode16Bit)
|
||||
if (_colorDepth == kColorDepthMode16Bit || _colorDepth == kColorDepthMode32Bit)
|
||||
palette = bwPalette;
|
||||
|
||||
_surface->convertToInPlace(renderFmt, palette);
|
||||
|
Loading…
x
Reference in New Issue
Block a user