IOS HLE: Prevent accessing host file system

This commit is contained in:
JosJuice
2016-11-12 20:48:50 +01:00
parent a79c449493
commit 141f3bfb3a
3 changed files with 43 additions and 5 deletions

View File

@ -133,6 +133,10 @@ std::string CreateTempDir();
// Get a filename that can hopefully be atomically renamed to the given path.
std::string GetTempFilenameForAtomicWrite(const std::string& path);
// Converts the given path into an absolute path.
// An empty string is returned if an error occurs.
std::string GetAbsolutePath(const std::string& path);
// Gets a set user directory path
// Don't call prior to setting the base user directory
const std::string& GetUserPath(unsigned int dir_index);