[Scummvm-git-logs] scummvm-tools master -> 4da64521fcf2b97c4534e5014583923efaf7153b

lephilousophe noreply at scummvm.org
Mon May 18 19:01:09 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://api.github.com/repos/scummvm/scummvm-tools .

Summary:
4da64521fc TETRAEDGE: Tentative fix


Commit: 4da64521fcf2b97c4534e5014583923efaf7153b
    https://github.com/scummvm/scummvm-tools/commit/4da64521fcf2b97c4534e5014583923efaf7153b
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2026-05-18T21:00:49+02:00

Commit Message:
TETRAEDGE: Tentative fix

Changed paths:
    engines/tetraedge/extract_obb.cpp


diff --git a/engines/tetraedge/extract_obb.cpp b/engines/tetraedge/extract_obb.cpp
index 1be01291..aaf1e12e 100644
--- a/engines/tetraedge/extract_obb.cpp
+++ b/engines/tetraedge/extract_obb.cpp
@@ -28,8 +28,12 @@
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
+#ifdef WIN32
+#include <direct.h>
+#else
 #include <sys/stat.h>
 #include <sys/types.h>
+#endif
 
 int main (int argc, char **argv) {
 	FILE *fin;
@@ -84,7 +88,11 @@ int main (int argc, char **argv) {
 		for (uint j = 0; buf[j]; j++) {
 			if (j != 0 && buf[j] == '/') {
 				buf[j] = 0;
+#ifdef WIN32
+				_mkdir((char *)buf);
+#else
 				mkdir((char *)buf, 0755);
+#endif
 				buf[j] = '/';
 			}
 		}




More information about the Scummvm-git-logs mailing list