From 2a6025410736eab9d60aa7291f1cfc1867fe9d13 Mon Sep 17 00:00:00 2001 From: Tomas Voracek Date: Thu, 21 Dec 2023 19:50:49 +0100 Subject: [PATCH] PR changes --- src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs | 2 +- src/Ryujinx/Ui/MainWindow.cs | 3 +-- src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs b/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs index 2167a6ec3..939231e78 100644 --- a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs +++ b/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs @@ -930,7 +930,7 @@ namespace Ryujinx.Ui.App.Common if (!string.IsNullOrWhiteSpace(updatePath) && !File.Exists(updatePath)) { - Logger.Warning?.Print(LogClass.Loader, $"Update file \"{updatePath}\" for titleId: {titleId} was not found! Game saves can become corrupted!"); + Logger.Warning?.Print(LogClass.Loader, $"Update file \"{updatePath}\" for ApplicationId: {titleId} was not found! Game saves can become corrupted!"); } if (File.Exists(updatePath)) diff --git a/src/Ryujinx/Ui/MainWindow.cs b/src/Ryujinx/Ui/MainWindow.cs index e20f96d15..33158c592 100644 --- a/src/Ryujinx/Ui/MainWindow.cs +++ b/src/Ryujinx/Ui/MainWindow.cs @@ -973,8 +973,7 @@ namespace Ryujinx.Ui (Nca patchNca, _) = ApplicationLibrary.GetGameUpdateData(_virtualFileSystem, titleId, 0, out string updatePath); - if (!string.IsNullOrWhiteSpace(updatePath) - && patchNca is null) + if (!string.IsNullOrWhiteSpace(updatePath) && patchNca is null) { MessageDialog updateMissingWarningDialog = new(this, DialogFlags.Modal, MessageType.Warning, ButtonsType.YesNo, null) { diff --git a/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs b/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs index 6ea4fcf66..9fa796a30 100644 --- a/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs +++ b/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs @@ -89,6 +89,7 @@ namespace Ryujinx.Ui.Windows if (!File.Exists(path)) { GtkDialog.CreateErrorDialog($"Update file \"{path}\" was not found! Current game saves can become corrupted!"); + return; }