From a3227d42f0b765900aca7e4c46d95c344000f6dd Mon Sep 17 00:00:00 2001 From: Tomas Voracek Date: Sat, 21 Oct 2023 17:23:42 +0200 Subject: [PATCH] PR comments resolved --- src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs | 5 ++--- src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs b/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs index 9591880b0..2167a6ec3 100644 --- a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs +++ b/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs @@ -928,10 +928,9 @@ namespace Ryujinx.Ui.App.Common { updatePath = JsonHelper.DeserializeFromFile(titleUpdateMetadataPath, _titleSerializerContext.TitleUpdateMetadata).Selected; - if (!string.IsNullOrWhiteSpace(updatePath) - && !File.Exists(updatePath)) + 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 titleId: {titleId} was not found! Game saves can become corrupted!"); } if (File.Exists(updatePath)) diff --git a/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs b/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs index c276186db..6ea4fcf66 100644 --- a/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs +++ b/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs @@ -88,7 +88,7 @@ namespace Ryujinx.Ui.Windows { if (!File.Exists(path)) { - GtkDialog.CreateErrorDialog($"Update file {path} was not found! Current game saves can become corrupted!"); + GtkDialog.CreateErrorDialog($"Update file \"{path}\" was not found! Current game saves can become corrupted!"); return; }