Bugfix LibHac update to 0.13.3 and remove SD card workaround (#2579)

This commit is contained in:
Alex Barney 2021-08-26 14:18:49 -07:00 committed by GitHub
parent 686b63e479
commit 32cad88cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 15 deletions

View File

@ -273,9 +273,6 @@ namespace Ryujinx.HLE.FileSystem
rc = FixExtraDataInSpaceId(hos, SaveDataSpaceId.User);
if (rc.IsFailure()) return rc;
rc = FixExtraDataInSpaceId(hos, SaveDataSpaceId.SdCache);
if (rc.IsFailure()) return rc;
return Result.Success;
}

View File

@ -95,20 +95,11 @@ namespace Ryujinx.HLE.HOS
Result rc = RyujinxClient.Fs.MountSdCard("sdcard".ToU8Span());
if (rc.IsFailure()) return;
try
{
try
{
RyujinxClient.Fs.CleanDirectoryRecursively("sdcard:/Nintendo/save".ToU8Span()).IgnoreResult();
}
catch (Exception) { /* We don't care about the result */ }
try
{
RyujinxClient.Fs.DeleteDirectoryRecursively("sdcard:/save".ToU8Span()).IgnoreResult();
}
catch (Exception) { /* We don't care about the result */ }
}
finally
{
RyujinxClient.Fs.Unmount("sdcard".ToU8Span());

View File

@ -20,7 +20,7 @@
<ItemGroup>
<PackageReference Include="Concentus" Version="1.1.7" />
<PackageReference Include="LibHac" Version="0.13.2" />
<PackageReference Include="LibHac" Version="0.13.3" />
<PackageReference Include="MsgPack.Cli" Version="1.0.1" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta11" />
</ItemGroup>