[Scummvm-git-logs] scummvm master -> 7df438f6a9710dc55d417979dd900a5f863c4476
aquadran
noreply at scummvm.org
Sat Jul 18 10:44:43 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:
7df438f6a9 WINTERMUTE: W/A missing save thumbnail for 'Barrow Hill - The Dark Path'
Commit: 7df438f6a9710dc55d417979dd900a5f863c4476
https://github.com/scummvm/scummvm/commit/7df438f6a9710dc55d417979dd900a5f863c4476
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2026-07-18T12:44:32+02:00
Commit Message:
WINTERMUTE: W/A missing save thumbnail for 'Barrow Hill - The Dark Path'
Changed paths:
engines/wintermute/base/base_game.cpp
engines/wintermute/ui/ui_object.cpp
diff --git a/engines/wintermute/base/base_game.cpp b/engines/wintermute/base/base_game.cpp
index bae8868883d..dc8713ee4b6 100644
--- a/engines/wintermute/base/base_game.cpp
+++ b/engines/wintermute/base/base_game.cpp
@@ -2691,7 +2691,13 @@ bool BaseGame::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack
stack->correctParams(0);
SAFE_DELETE(_cachedThumbnail);
_cachedThumbnail = new SaveThumbHelper(this);
- if (DID_FAIL(_cachedThumbnail->storeThumbnail())) {
+ bool doFlip = false;
+
+ if (BaseEngine::instance().getGameId() == "barrowhilldp") {
+ doFlip = true;
+ }
+
+ if (DID_FAIL(_cachedThumbnail->storeThumbnail(doFlip))) {
SAFE_DELETE(_cachedThumbnail);
stack->pushBool(false);
} else {
diff --git a/engines/wintermute/ui/ui_object.cpp b/engines/wintermute/ui/ui_object.cpp
index d78177ff913..42c24d20c4e 100644
--- a/engines/wintermute/ui/ui_object.cpp
+++ b/engines/wintermute/ui/ui_object.cpp
@@ -181,7 +181,7 @@ bool UIObject::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack
stack->correctParams(1);
ScValue *val = stack->pop();
- /* const char *filename = */ val->getString();
+ const char *filename = val->getString();
SAFE_DELETE(_image);
if (val->isNULL()) {
@@ -190,7 +190,7 @@ bool UIObject::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack
}
_image = new BaseSprite(_game);
- if (!_image || DID_FAIL(_image->loadFile(val->getString()))) {
+ if (!_image || DID_FAIL(_image->loadFile(filename))) {
SAFE_DELETE(_image);
stack->pushBool(false);
} else {
More information about the Scummvm-git-logs
mailing list