Settings: Use RealPath() for directories

This commit is contained in:
Stenzek 2024-04-11 14:44:43 +10:00
parent e2d87f554b
commit fec36471b8
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -1856,6 +1856,7 @@ static std::string LoadPathFromSettings(SettingsInterface& si, const std::string
value = def;
if (!Path::IsAbsolute(value))
value = Path::Combine(root, value);
value = Path::RealPath(value);
return value;
}