diff options
author | Alex Barney <thealexbarney@gmail.com> | 2021-08-17 10:46:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 14:46:52 -0300 |
commit | cd4530f29c6a4ffd1b023105350b0440fa63f47b (patch) | |
tree | fd8f83b50404ecddef283c94558246e3d07e7e3e /Ryujinx.HLE/FileSystem/VirtualFileSystem.cs | |
parent | 680d3ed198ba6211d8357e370f0d29f1b5e95c74 (diff) |
Always use an all-zeros key for AES-XTS file systems (#2561)
Diffstat (limited to 'Ryujinx.HLE/FileSystem/VirtualFileSystem.cs')
-rw-r--r-- | Ryujinx.HLE/FileSystem/VirtualFileSystem.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs b/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs index c4363f71..1bd34765 100644 --- a/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs +++ b/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs @@ -178,6 +178,9 @@ namespace Ryujinx.HLE.FileSystem DefaultFsServerObjects fsServerObjects = DefaultFsServerObjects.GetDefaultEmulatedCreators(serverBaseFs, KeySet, fsServer); + // Use our own encrypted fs creator that always uses all-zero keys + fsServerObjects.FsCreators.EncryptedFileSystemCreator = new EncryptedFileSystemCreator(); + GameCard = fsServerObjects.GameCard; SdCard = fsServerObjects.SdCard; |