mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-06 00:59:18 +00:00
Fix fs::create_path
Don't try to create already existing parents
This commit is contained in:
parent
4de301a961
commit
8f47f9517a
@ -543,7 +543,7 @@ bool fs::create_path(const std::string& path)
|
||||
{
|
||||
const std::string parent = get_parent_dir(path);
|
||||
|
||||
if (!parent.empty() && !create_path(parent))
|
||||
if (!parent.empty() && !is_dir(parent) && !create_path(parent))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user