[Scummvm-git-logs] scummvm master -> 930fae93106aa03788fd44421b6a86eb30cc116d
aquadran
noreply at scummvm.org
Fri Jul 17 17:44:40 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:
930fae9310 WINTERMUTE: Silence 'Copy' method for 'Space Madness'
Commit: 930fae93106aa03788fd44421b6a86eb30cc116d
https://github.com/scummvm/scummvm/commit/930fae93106aa03788fd44421b6a86eb30cc116d
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2026-07-17T19:44:25+02:00
Commit Message:
WINTERMUTE: Silence 'Copy' method for 'Space Madness'
Changed paths:
engines/wintermute/base/scriptables/script_ext_file.cpp
diff --git a/engines/wintermute/base/scriptables/script_ext_file.cpp b/engines/wintermute/base/scriptables/script_ext_file.cpp
index 861249ae0b5..1734e3f8806 100644
--- a/engines/wintermute/base/scriptables/script_ext_file.cpp
+++ b/engines/wintermute/base/scriptables/script_ext_file.cpp
@@ -211,10 +211,12 @@ bool SXFile::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack,
/* const char *dest = */ stack->pop()->getString();
/* bool overwrite = */ stack->pop()->getBool(true);
- // Known game that need this:
- // * Space Madness (to copy bonus wallpapers from data.dcp to /saves/ folder)
- // * games by Rootfix intertainment (to save temporary screenshot as savegame screenshot)
- warning("SXFile-Method: Copy not supported");
+ if (BaseEngine::instance().getGameId() == "spacemadness") {
+ // Space Madness (to copy bonus wallpapers from data.dcp to /saves/ folder)
+ // games by Rootfix intertainment (to save temporary screenshot as savegame screenshot)
+ } else {
+ warning("SXFile-Method: Copy not supported");
+ }
stack->pushBool(false);
return STATUS_OK;
More information about the Scummvm-git-logs
mailing list