mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-13 17:28:35 +02:00
try to fix the paths
This commit is contained in:
parent
a58b1e975e
commit
692dd09dda
1 changed files with 3 additions and 0 deletions
|
|
@ -171,11 +171,14 @@ bool CreateDir(const fs::path& path) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Maybe this is what causes death?
|
||||||
|
#ifndef __OPENORBIS__
|
||||||
if (!Exists(path.parent_path())) {
|
if (!Exists(path.parent_path())) {
|
||||||
LOG_ERROR(Common_Filesystem, "Parent directory of path={} does not exist",
|
LOG_ERROR(Common_Filesystem, "Parent directory of path={} does not exist",
|
||||||
PathToUTF8String(path));
|
PathToUTF8String(path));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (IsDir(path)) {
|
if (IsDir(path)) {
|
||||||
LOG_DEBUG(Common_Filesystem, "Filesystem object at path={} exists and is a directory",
|
LOG_DEBUG(Common_Filesystem, "Filesystem object at path={} exists and is a directory",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue