diff --git a/backends/plugins/kolibrios/kolibrios-provider.cpp b/backends/plugins/kolibrios/kolibrios-provider.cpp index f08774caf42d..4662e5a09863 100644 --- a/backends/plugins/kolibrios/kolibrios-provider.cpp +++ b/backends/plugins/kolibrios/kolibrios-provider.cpp @@ -44,7 +44,7 @@ class KolibriOSPlugin final : public DynamicPlugin { 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 81a7b28af31a..7e41b0598f62 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); }