file_util: Make sure portable user path is absolute. (#7448)

This commit is contained in:
Steveice10 2024-02-18 15:21:53 -08:00 committed by GitHub
parent cbe8987036
commit 3a4ebb1413
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 41 additions and 34 deletions

View file

@ -193,11 +193,8 @@ void SetCurrentRomPath(const std::string& path);
// Update the Global Path with the new value
void UpdateUserPath(UserPath path, const std::string& filename);
// Returns the path to where the sys file are
[[nodiscard]] std::string GetSysDirectory();
#ifdef __APPLE__
[[nodiscard]] std::string GetBundleDirectory();
[[nodiscard]] std::optional<std::string> GetBundleDirectory();
#endif
#ifdef _WIN32