From 41f2ee7b6c9724922044b692b92e15f016a308e8 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sat, 11 Jan 2020 01:55:36 +0300 Subject: [PATCH] VFS: minor change in handling /host_root path --- rpcs3/Emu/VFS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/VFS.cpp b/rpcs3/Emu/VFS.cpp index 5a3f705c4f..81bc2db9a7 100644 --- a/rpcs3/Emu/VFS.cpp +++ b/rpcs3/Emu/VFS.cpp @@ -237,9 +237,9 @@ std::string vfs::get(std::string_view vpath, std::vector* out_dir, 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)