Log a warning if the converted path is not inside the Ryujinx directory

This commit is contained in:
TSR Berry 2024-07-12 21:00:23 +02:00
parent abaa560ed5
commit 647276b824
No known key found for this signature in database
GPG key ID: 52353C0A4CCA15E2

View file

@ -109,7 +109,7 @@ namespace Ryujinx.HLE.FileSystem
if (!fullPath.StartsWith(AppDataManager.BaseDirPath))
{
throw new ArgumentException($"The path is not located inside the Ryujinx directory: {fullPath}", nameof(basePath));
Logger.Warning?.Print(LogClass.ServiceFs, $"The path is not located inside the Ryujinx directory: {fullPath}");
}
return fullPath;