mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
Remove unnecessary check when creating subdir chains
This commit is contained in:
1 parent
4793222fae
commit
011f73fedb
1 file changed
+1
-3
@@ -665,9 +665,7 @@ bool CreateFullPath(const Path &path) {
|
||||
Path curPath = root;
|
||||
for (auto part : parts) {
|
||||
curPath /= part;
|
||||
if (!File::Exists(curPath)) {
|
||||
File::CreateDir(curPath);
|
||||
}
|
||||
File::CreateDir(curPath);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user