Skip to content

Commit

Permalink
KOLIBRI: Fix compilation on KolibriOS
Browse files Browse the repository at this point in the history
  • Loading branch information
phcoder committed Dec 4, 2024
1 parent 2ca9f80 commit 0b8aebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backends/plugins/kolibrios/kolibrios-provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion backends/saves/kolibrios/kolibrios-saves.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 0b8aebb

Please sign in to comment.