diff options
Diffstat (limited to 'src/utils/physfstools.cpp')
-rw-r--r-- | src/utils/physfstools.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp index 1424bb2a2..cc17c09b3 100644 --- a/src/utils/physfstools.cpp +++ b/src/utils/physfstools.cpp @@ -171,4 +171,14 @@ namespace PhysFs } return true; } + + void permitLinks(const bool val) + { + PHYSFS_permitSymbolicLinks(val ? 1 : 0); + } + + const char *getLastError() + { + return PHYSFS_getLastError(); + } } // namespace PhysFs |