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); rc = FixExtraDataInSpaceId(hos, SaveDataSpaceId.User);
if (rc.IsFailure()) return rc; if (rc.IsFailure()) return rc;
rc = FixExtraDataInSpaceId(hos, SaveDataSpaceId.SdCache);
if (rc.IsFailure()) return rc;
return Result.Success; return Result.Success;
} }

View file

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

View file

@ -20,7 +20,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Concentus" Version="1.1.7" /> <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="MsgPack.Cli" Version="1.0.1" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta11" /> <PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta11" />
</ItemGroup> </ItemGroup>