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

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;
}