[Scummvm-git-logs] scummvm master -> fb2e673e4bca1aa2f5201a29f238e26129acef28
bluegr
noreply at scummvm.org
Fri Apr 17 08:20:33 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
fb2e673e4b SCI: Fix compilation
Commit: fb2e673e4bca1aa2f5201a29f238e26129acef28
https://github.com/scummvm/scummvm/commit/fb2e673e4bca1aa2f5201a29f238e26129acef28
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-04-17T11:20:15+03:00
Commit Message:
SCI: Fix compilation
Changed paths:
engines/sci/graphics/video32.cpp
diff --git a/engines/sci/graphics/video32.cpp b/engines/sci/graphics/video32.cpp
index a98e185d1e9..577cc5ceb00 100644
--- a/engines/sci/graphics/video32.cpp
+++ b/engines/sci/graphics/video32.cpp
@@ -52,6 +52,8 @@ namespace Graphics { struct Surface; }
namespace Sci {
+extern int showScummVMDialog(const Common::U32String &message, const Common::U32String &altButton = Common::U32String(), bool alignCenter = true);
+
bool VideoPlayer::open(const Common::Path &fileName) {
if (!_decoder->loadFile(fileName)) {
warning("Failed to load %s", fileName.toString().c_str());
@@ -65,7 +67,6 @@ void VideoPlayer::showUnsupportedFormatDialog() {
// KQ7 2.00b videos are compressed in 24bpp Cinepak, so cannot play on a
// system with no RGB support
// TODO: Optionally support dithering for Cinepak videos
- void showScummVMDialog(const Common::U32String &message, const Common::U32String &altButton = Common::U32String(), bool alignCenter = true);
showScummVMDialog(Common::U32String::format(_("Cannot play back %s video on a system with maximum color depth of 8bpp"), _decoder->getPixelFormat().toString().c_str()));
}
More information about the Scummvm-git-logs
mailing list