[Scummvm-git-logs] scummvm master -> 3d14ec41cbbde062df7669269ca6279097c694b6

aquadran noreply at scummvm.org
Sat Jan 31 21:39:48 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:
3d14ec41cb WINTERMUTE: Skipping buggy PNG bitmap for 'Satan and Sonds' demo


Commit: 3d14ec41cbbde062df7669269ca6279097c694b6
    https://github.com/scummvm/scummvm/commit/3d14ec41cbbde062df7669269ca6279097c694b6
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-01-31T22:39:43+01:00

Commit Message:
WINTERMUTE: Skipping buggy PNG bitmap for 'Satan and Sonds' demo

Changed paths:
    engines/wintermute/base/gfx/base_image.cpp


diff --git a/engines/wintermute/base/gfx/base_image.cpp b/engines/wintermute/base/gfx/base_image.cpp
index edd4ee5a874..e4166839ca6 100644
--- a/engines/wintermute/base/gfx/base_image.cpp
+++ b/engines/wintermute/base/gfx/base_image.cpp
@@ -218,6 +218,11 @@ bool BaseImage::loadFile(const Common::String &filename) {
 	if (filename.hasPrefix("savegame:") || _filename.hasSuffix(".bmp")) {
 		_decoder = new Image::BitmapDecoder();
 	} else if (_filename.hasSuffix(".png")) {
+		if (BaseEngine::instance().getGameId() == "satanandsons" &&
+		    _filename.hasSuffix("\\plein\\kaars.1.png")) {
+			debug(2, "BaseImage::loadFile : Buggy PNG bitmap %s, skipping...", filename.c_str());
+			return false;
+		}
 		_decoder = new Image::PNGDecoder();
 	} else if (_filename.hasSuffix(".tga")) {
 		_decoder = new Image::TGADecoder();




More information about the Scummvm-git-logs mailing list