FileUtil: Remove GetSysDirectory log spam

Create and log path the first time GetSysDirectory is called, then just
return the path on future calls.
This commit is contained in:
Dentomologist
2022-05-27 14:25:43 -07:00
parent 4d563ce4d1
commit c2be78079c
2 changed files with 9 additions and 3 deletions

View File

@ -215,7 +215,7 @@ void SetUserPath(unsigned int dir_index, std::string path);
std::string GetThemeDir(const std::string& theme_name);
// Returns the path to where the sys file are
std::string GetSysDirectory();
const std::string& GetSysDirectory();
#ifdef ANDROID
void SetSysDirectory(const std::string& path);