mirror of https://github.com/AxioDL/metaforce.git
Update boo
This commit is contained in:
parent
6ccded30f8
commit
7d91a6408e
|
@ -1 +1 @@
|
||||||
Subproject commit 6ee5e9011b82c37ad3cfe81828f3bc781f5a6942
|
Subproject commit 7eeebce37c84380a30a1e0c9c1286589e9ae629f
|
|
@ -497,11 +497,11 @@ std::vector<std::pair<HECL::SystemString, std::string>> GetSystemLocations()
|
||||||
|
|
||||||
if (home)
|
if (home)
|
||||||
{
|
{
|
||||||
ret.push_back(home);
|
ret.push_back(NameFromPath(home));
|
||||||
std::string desktop(home);
|
std::string desktop(home);
|
||||||
desktop += "/Desktop";
|
desktop += "/Desktop";
|
||||||
if (!HECL::Stat(desktop.c_str(), &theStat))
|
if (!HECL::Stat(desktop.c_str(), &theStat))
|
||||||
ret.push_back(std::move(desktop));
|
ret.push_back(NameFromPath(desktop));
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -521,7 +521,7 @@ std::vector<std::pair<HECL::SystemString, std::string>> GetSystemLocations()
|
||||||
std::string mntStr(mnt->mnt_dir);
|
std::string mntStr(mnt->mnt_dir);
|
||||||
if (mntStr.size() > 1 && mntStr.back() == '/')
|
if (mntStr.size() > 1 && mntStr.back() == '/')
|
||||||
mntStr.pop_back();
|
mntStr.pop_back();
|
||||||
ret.push_back(std::move(mntStr));
|
ret.push_back(NameFromPath(mntStr));
|
||||||
|
|
||||||
found = true;
|
found = true;
|
||||||
}
|
}
|
||||||
|
@ -530,7 +530,7 @@ std::vector<std::pair<HECL::SystemString, std::string>> GetSystemLocations()
|
||||||
#endif
|
#endif
|
||||||
/* Fallback */
|
/* Fallback */
|
||||||
if (!found)
|
if (!found)
|
||||||
ret.push_back("/");
|
ret.push_back(NameFromPath("/"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue