file_util: Add a function to update the user path

Added a default value when sdmc and nand are empty
This commit is contained in:
Daniel Méndez 2021-04-10 20:48:28 +02:00
parent 49c0766b73
commit 3be52f818a
4 changed files with 19 additions and 3 deletions

View file

@ -186,6 +186,9 @@ void SetCurrentRomPath(const std::string& path);
// directory. To be used in "multi-user" mode (that is, installed).
[[nodiscard]] const std::string& GetUserPath(UserPath path);
// Update the Global Path with the new value
const void UpdateUserPath(UserPath path, const std::string& filename);
// Returns the path to where the sys file are
[[nodiscard]] std::string GetSysDirectory();