From 266773f838c6c0c6f857a7a7fbcbbe8d6333f03b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Jan 2017 21:51:16 +0300 Subject: Replace left direct physfs functions calls into physfs namespace functions. --- src/utils/physfstools.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/utils/physfstools.cpp') 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 -- cgit v1.2.3-70-g09d2