common: decouple getting and setting user paths
paths -> g_paths
This commit is contained in:
parent
de1128c60d
commit
d3d53bae83
2 changed files with 36 additions and 45 deletions
|
@ -123,9 +123,11 @@ void CopyDir(const std::string& source_path, const std::string& dest_path);
|
|||
// Set the current directory to given directory
|
||||
bool SetCurrentDir(const std::string& directory);
|
||||
|
||||
void SetUserPath(const std::string& path = "");
|
||||
|
||||
// Returns a pointer to a string with a Citra data dir in the user's home
|
||||
// directory. To be used in "multi-user" mode (that is, installed).
|
||||
const std::string& GetUserPath(UserPath path, const std::string& new_path = "");
|
||||
const std::string& GetUserPath(UserPath path);
|
||||
|
||||
// Returns the path to where the sys file are
|
||||
std::string GetSysDirectory();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue