[Scummvm-git-logs] scummvm branch-2-9 -> e60615a3d8673d80551aeb6a4111ec7fabf93807

bluegr noreply at scummvm.org
Wed Dec 4 17:45:53 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:
e60615a3d8 KOLIBRI: Fix compilation on KolibriOS


Commit: e60615a3d8673d80551aeb6a4111ec7fabf93807
    https://github.com/scummvm/scummvm/commit/e60615a3d8673d80551aeb6a4111ec7fabf93807
Author: Vladimir Serbinenko (phcoder at gmail.com)
Date: 2024-12-04T19:45:50+02:00

Commit Message:
KOLIBRI: Fix compilation on KolibriOS

Changed paths:
    backends/plugins/kolibrios/kolibrios-provider.cpp
    backends/saves/kolibrios/kolibrios-saves.cpp


diff --git a/backends/plugins/kolibrios/kolibrios-provider.cpp b/backends/plugins/kolibrios/kolibrios-provider.cpp
index f08774caf42..4662e5a0986 100644
--- a/backends/plugins/kolibrios/kolibrios-provider.cpp
+++ b/backends/plugins/kolibrios/kolibrios-provider.cpp
@@ -44,7 +44,7 @@ protected:
 	VoidFunc findSymbol(const char *symbol) override {
 		void *func = get_proc_address(_dlHandle, symbol);
 		if (!func)
-			debug("Failed loading symbol '%s' from plugin '%s'", symbol, _filename.c_str());
+			debug("Failed loading symbol '%s' from plugin '%s'", symbol, _filename.toString('/').c_str());
 
 		return (void (*)())func;
 	}
diff --git a/backends/saves/kolibrios/kolibrios-saves.cpp b/backends/saves/kolibrios/kolibrios-saves.cpp
index 81a7b28af31..7e41b0598f6 100644
--- a/backends/saves/kolibrios/kolibrios-saves.cpp
+++ b/backends/saves/kolibrios/kolibrios-saves.cpp
@@ -45,7 +45,7 @@ KolibriOSSaveFileManager::KolibriOSSaveFileManager(const Common::Path& writeable
 		savePath = writeablePath.join("saves");
 	}
 
-	if (!savePath.empty() && savePath.size() < MAXPATHLEN) {
+	if (!savePath.empty() && savePath.toString('/').size() < MAXPATHLEN) {
 		ConfMan.registerDefault("savepath", savePath);
 	}
 




More information about the Scummvm-git-logs mailing list