[Scummvm-git-logs] scummvm master -> 8ef27002cb7a3c19529492795a16c49ca70b3469
sev-
sev at scummvm.org
Tue Feb 11 23:41:04 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8ef27002cb SCI: Fix compilation on platforms without RGB colors
Commit: 8ef27002cb7a3c19529492795a16c49ca70b3469
https://github.com/scummvm/scummvm/commit/8ef27002cb7a3c19529492795a16c49ca70b3469
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-02-12T00:40:28+01:00
Commit Message:
SCI: Fix compilation on platforms without RGB colors
Changed paths:
engines/sci/graphics/video32.cpp
diff --git a/engines/sci/graphics/video32.cpp b/engines/sci/graphics/video32.cpp
index acaae27..264cfcf 100644
--- a/engines/sci/graphics/video32.cpp
+++ b/engines/sci/graphics/video32.cpp
@@ -66,6 +66,7 @@ bool VideoPlayer::open(const Common::String &fileName) {
// KQ7 2.00b videos are compressed in 24bpp Cinepak, so cannot play on a
// system with no RGB support
if (_decoder->getPixelFormat().bytesPerPixel != 1) {
+ void showScummVMDialog(const Common::String &message, const char* altButton = nullptr, bool alignCenter = true);
showScummVMDialog(Common::String::format(_("Cannot play back %dbpp video on a system with maximum color depth of 8bpp"), _decoder->getPixelFormat().bpp()));
_decoder->close();
return false;
More information about the Scummvm-git-logs
mailing list