Log a warning if the converted path is not inside the Ryujinx directory
This commit is contained in:
parent
abaa560ed5
commit
647276b824
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ namespace Ryujinx.HLE.FileSystem
|
||||||
|
|
||||||
if (!fullPath.StartsWith(AppDataManager.BaseDirPath))
|
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;
|
return fullPath;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue