diff --git a/Ryujinx.HLE/FileSystem/FileSystemProvider.cs b/Ryujinx.HLE/FileSystem/FileSystemProvider.cs index ac89a86128..653d89d6da 100644 --- a/Ryujinx.HLE/FileSystem/FileSystemProvider.cs +++ b/Ryujinx.HLE/FileSystem/FileSystemProvider.cs @@ -9,8 +9,8 @@ namespace Ryujinx.HLE.FileSystem { class FileSystemProvider : IFileSystemProvider { - private string BasePath; - private string RootPath; + private readonly string BasePath; + private readonly string RootPath; public FileSystemProvider(string BasePath, string RootPath) { @@ -215,7 +215,7 @@ namespace Ryujinx.HLE.FileSystem } } - throw new InvalidOperationException($"Path {BasePath} is not a child directory of {RootPath}"); + throw new InvalidOperationException($"Path {Path} is not a child directory of {RootPath}"); } } }