mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
FileUtil.cpp: fix CreateFullPath for relative paths
This commit is contained in:
1 parent
eb92ef0782
commit
52c57ad9fa
1 file changed
+3
-1
@@ -652,7 +652,9 @@ bool CreateFullPath(const Path &path) {
|
||||
}
|
||||
|
||||
std::vector<std::string_view> parts;
|
||||
SplitString(diff, '/', parts);
|
||||
if (!diff.empty()) {
|
||||
SplitString(diff, '/', parts);
|
||||
}
|
||||
|
||||
// Probably not necessary sanity check, ported from the old code.
|
||||
if (parts.size() > 100) {
|
||||
|
||||
Reference in new issue
Block a user