diff options
Diffstat (limited to 'src/utils/physfstools.cpp')
-rw-r--r-- | src/utils/physfstools.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp index 06df8fccf..1fcb8fb1b 100644 --- a/src/utils/physfstools.cpp +++ b/src/utils/physfstools.cpp @@ -20,11 +20,20 @@ #include "utils/physfstools.h" +#include "logger.h" + +const char *dirSeparator = nullptr; + namespace PhysFs { + void updateDirSeparator() + { + dirSeparator = PHYSFS_getDirSeparator(); + } + const char *getDirSeparator() { - return PHYSFS_getDirSeparator(); + return dirSeparator; } const char *getBaseDir() |