From d56eada98861b2eb32f0dfddac665317f97ffd8b Mon Sep 17 00:00:00 2001 From: Xpl0itR Date: Thu, 6 Feb 2020 21:07:10 +0000 Subject: [PATCH] nits --- Ryujinx/Ui/GameTableContextMenu.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Ryujinx/Ui/GameTableContextMenu.cs b/Ryujinx/Ui/GameTableContextMenu.cs index ae05d5278f..781ffca223 100644 --- a/Ryujinx/Ui/GameTableContextMenu.cs +++ b/Ryujinx/Ui/GameTableContextMenu.cs @@ -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); - int response = fileChooser.Run(); + int response = fileChooser.Run(); string destination = fileChooser.Filename; fileChooser.Dispose(); @@ -246,7 +246,7 @@ namespace Ryujinx.Ui int index = Nca.GetSectionIndexFromType(ncaSectionType, mainNca.Header.ContentType); IFileSystem ncaFileSystem = patchNca != null ? mainNca.OpenFileSystemWithPatch(patchNca, index, IntegrityCheckLevel.ErrorOnInvalid) - : mainNca.OpenFileSystem(index, IntegrityCheckLevel.ErrorOnInvalid); + : mainNca.OpenFileSystem(index, IntegrityCheckLevel.ErrorOnInvalid); FileSystemClient fsClient = _virtualFileSystem.FsClient; @@ -285,6 +285,7 @@ namespace Ryujinx.Ui SecondaryText = "Extraction has completed successfully.", WindowPosition = WindowPosition.Center }; + dialog.Run(); dialog.Dispose(); }); @@ -294,6 +295,7 @@ namespace Ryujinx.Ui fsClient.Unmount(output); } }); + extractorThread.Name = "GUI.NcaSectionExtractorThread"; extractorThread.IsBackground = true; extractorThread.Start();