1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-31 00:16:33 -05:00

Add IMultiCommitManager (#1011)

* Update LibHac

* Add IMultiCommitManager

* Updates

* Delete NuGet.Config

* Add command version
This commit is contained in:
Alex Barney
2020-03-25 01:14:35 -07:00
committed by GitHub
parent f695a215ad
commit 21c9c04f9f
15 changed files with 131 additions and 59 deletions

View File

@@ -78,18 +78,18 @@ namespace Ryujinx.Ui
result = fs.CopyDirectory("OldSave:/", "NewSave:/");
if (result.IsFailure()) return result;
result = fs.Commit("NewSave");
result = fs.Commit("NewSave".ToU8Span());
}
finally
{
if (isOldMounted)
{
fs.Unmount("OldSave");
fs.Unmount("OldSave".ToU8Span());
}
if (isNewMounted)
{
fs.Unmount("NewSave");
fs.Unmount("NewSave".ToU8Span());
}
}