mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-27 12:45:50 +00:00
Slippi: pop extra dirsep in linux user.json path (#30)
Co-authored-by: Nikki Narayana <nikhil.narayana@live.com>
This commit is contained in:
parent
66c17b502d
commit
98285614b2
1 changed files with 1 additions and 0 deletions
|
@ -229,6 +229,7 @@ std::string SlippiUser::getUserFilePath()
|
||||||
std::string dirPath = File::GetExeDirectory();
|
std::string dirPath = File::GetExeDirectory();
|
||||||
#else
|
#else
|
||||||
std::string dirPath = File::GetSysDirectory();
|
std::string dirPath = File::GetSysDirectory();
|
||||||
|
dirPath.pop_back();
|
||||||
#endif
|
#endif
|
||||||
std::string userFilePath = dirPath + DIR_SEP + "user.json";
|
std::string userFilePath = dirPath + DIR_SEP + "user.json";
|
||||||
return userFilePath;
|
return userFilePath;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue