[Scummvm-git-logs] scummvm master -> 0be429a6cbee905e77b7ee5a3d463e7eb2a94e41

aquadran noreply at scummvm.org
Sat Nov 16 05:03:50 UTC 2024


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:
0be429a6cb WINTERMUTE: Added explicit returning empty list for "GetFiles" for "Stroke of Fate" duology


Commit: 0be429a6cbee905e77b7ee5a3d463e7eb2a94e41
    https://github.com/scummvm/scummvm/commit/0be429a6cbee905e77b7ee5a3d463e7eb2a94e41
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-11-16T06:03:46+01:00

Commit Message:
WINTERMUTE: Added explicit returning empty list for "GetFiles" for "Stroke of Fate" duology

Changed paths:
    engines/wintermute/base/scriptables/script_ext_directory.cpp


diff --git a/engines/wintermute/base/scriptables/script_ext_directory.cpp b/engines/wintermute/base/scriptables/script_ext_directory.cpp
index 19669c03c19..cc3d2cb5d96 100644
--- a/engines/wintermute/base/scriptables/script_ext_directory.cpp
+++ b/engines/wintermute/base/scriptables/script_ext_directory.cpp
@@ -122,6 +122,12 @@ bool SXDirectory::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisSt
 
 			warning("FBI\\scenes\\17-magic Directory.%s is not implemented! Returning empty array...", name);
 
+		} else if (strcmp(dirName, ".\\") == 0 && strcmp(name, "GetFiles") == 0) {
+			// Used in "Stroke of Fate: Operation Valkyrie" and "Stroke of Fate: Operation Bunker"
+			// to return list of log files to be removed.
+
+			// return empty list instead
+
 		} else {
 			// No currently known games need this
 




More information about the Scummvm-git-logs mailing list