diff options
author | Ac_K <Acoustik666@gmail.com> | 2022-03-22 20:46:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 20:46:16 +0100 |
commit | e3b36db71c62a34a26b30683dd5ad5410c97cc9c (patch) | |
tree | 18feea12db46ad2ddcdc207e9fd0e805fd98b7da /Ryujinx/Ui/Windows/AvatarWindow.cs | |
parent | ba0171d05464201c1513386b7d0b69b5ea956426 (diff) |
hle: Some cleanup (#3210)1.1.83
* hle: Some cleanup
This PR cleaned up a bit the HLE folder and the VirtualFileSystem one, since we use LibHac, we can use some class of it directly instead of duplicate things. The "Content" of VFS folder is removed since it should be handled in the NCM service directly.
A larger cleanup should be done later since there is still be duplicated code here and there.
* Fix Headless.SDL2
* Addresses gdkchan feedback
Diffstat (limited to 'Ryujinx/Ui/Windows/AvatarWindow.cs')
-rw-r--r-- | Ryujinx/Ui/Windows/AvatarWindow.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx/Ui/Windows/AvatarWindow.cs b/Ryujinx/Ui/Windows/AvatarWindow.cs index 687b3d17..a5c07aed 100644 --- a/Ryujinx/Ui/Windows/AvatarWindow.cs +++ b/Ryujinx/Ui/Windows/AvatarWindow.cs @@ -3,10 +3,10 @@ using LibHac.Common; using LibHac.Fs; using LibHac.Fs.Fsa; using LibHac.FsSystem; +using LibHac.Ncm; using LibHac.Tools.FsSystem; using LibHac.Tools.FsSystem.NcaUtils; using Ryujinx.HLE.FileSystem; -using Ryujinx.HLE.FileSystem.Content; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Formats.Png; using SixLabors.ImageSharp.PixelFormats; @@ -115,7 +115,7 @@ namespace Ryujinx.Ui.Windows return; } - string contentPath = contentManager.GetInstalledContentPath(0x010000000000080A, StorageId.NandSystem, NcaContentType.Data); + string contentPath = contentManager.GetInstalledContentPath(0x010000000000080A, StorageId.BuiltInSystem, NcaContentType.Data); string avatarPath = virtualFileSystem.SwitchPathToSystemPath(contentPath); if (!string.IsNullOrWhiteSpace(avatarPath)) |