nits
This commit is contained in:
parent
c3daba0e7c
commit
d56eada988
1 changed files with 4 additions and 2 deletions
|
@ -154,7 +154,7 @@ namespace Ryujinx.Ui
|
||||||
{
|
{
|
||||||
FileChooserDialog fileChooser = new FileChooserDialog("Choose the folder to extract into", null, FileChooserAction.SelectFolder, "Cancel", ResponseType.Cancel, "Extract", ResponseType.Accept);
|
FileChooserDialog fileChooser = new FileChooserDialog("Choose the folder to extract into", null, FileChooserAction.SelectFolder, "Cancel", ResponseType.Cancel, "Extract", ResponseType.Accept);
|
||||||
|
|
||||||
int response = fileChooser.Run();
|
int response = fileChooser.Run();
|
||||||
string destination = fileChooser.Filename;
|
string destination = fileChooser.Filename;
|
||||||
|
|
||||||
fileChooser.Dispose();
|
fileChooser.Dispose();
|
||||||
|
@ -246,7 +246,7 @@ namespace Ryujinx.Ui
|
||||||
int index = Nca.GetSectionIndexFromType(ncaSectionType, mainNca.Header.ContentType);
|
int index = Nca.GetSectionIndexFromType(ncaSectionType, mainNca.Header.ContentType);
|
||||||
|
|
||||||
IFileSystem ncaFileSystem = patchNca != null ? mainNca.OpenFileSystemWithPatch(patchNca, index, IntegrityCheckLevel.ErrorOnInvalid)
|
IFileSystem ncaFileSystem = patchNca != null ? mainNca.OpenFileSystemWithPatch(patchNca, index, IntegrityCheckLevel.ErrorOnInvalid)
|
||||||
: mainNca.OpenFileSystem(index, IntegrityCheckLevel.ErrorOnInvalid);
|
: mainNca.OpenFileSystem(index, IntegrityCheckLevel.ErrorOnInvalid);
|
||||||
|
|
||||||
FileSystemClient fsClient = _virtualFileSystem.FsClient;
|
FileSystemClient fsClient = _virtualFileSystem.FsClient;
|
||||||
|
|
||||||
|
@ -285,6 +285,7 @@ namespace Ryujinx.Ui
|
||||||
SecondaryText = "Extraction has completed successfully.",
|
SecondaryText = "Extraction has completed successfully.",
|
||||||
WindowPosition = WindowPosition.Center
|
WindowPosition = WindowPosition.Center
|
||||||
};
|
};
|
||||||
|
|
||||||
dialog.Run();
|
dialog.Run();
|
||||||
dialog.Dispose();
|
dialog.Dispose();
|
||||||
});
|
});
|
||||||
|
@ -294,6 +295,7 @@ namespace Ryujinx.Ui
|
||||||
fsClient.Unmount(output);
|
fsClient.Unmount(output);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
extractorThread.Name = "GUI.NcaSectionExtractorThread";
|
extractorThread.Name = "GUI.NcaSectionExtractorThread";
|
||||||
extractorThread.IsBackground = true;
|
extractorThread.IsBackground = true;
|
||||||
extractorThread.Start();
|
extractorThread.Start();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue