mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
VFS: minor change in handling /host_root path
This commit is contained in:
parent
87cd653c6e
commit
41f2ee7b6c
1 changed files with 2 additions and 2 deletions
|
@ -237,9 +237,9 @@ std::string vfs::get(std::string_view vpath, std::vector<std::string>* out_dir,
|
||||||
|
|
||||||
if (dir.second.path == "/"sv)
|
if (dir.second.path == "/"sv)
|
||||||
{
|
{
|
||||||
if (vpath.empty())
|
if (vpath.size() <= 1)
|
||||||
{
|
{
|
||||||
return {};
|
return fs::get_config_dir() + "delete_this_dir.../delete_this...";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle /host_root (not escaped, not processed)
|
// Handle /host_root (not escaped, not processed)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue