mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
GOB: Don't clobber the global palette
svn-id: r55270
This commit is contained in:
parent
199b5d06af
commit
68ebdf20d5
@ -753,7 +753,7 @@ Graphics::CoktelDecoder *VideoPlayer::openVideo(const Common::String &file, Prop
|
||||
}
|
||||
|
||||
void VideoPlayer::copyPalette(const Video &video, int16 palStart, int16 palEnd) {
|
||||
if (!video.decoder->hasPalette())
|
||||
if (!video.decoder->hasPalette() || !video.decoder->isPaletted())
|
||||
return;
|
||||
|
||||
if (palStart < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user