PR comments resolved

This commit is contained in:
Tomas Voracek 2023-10-21 17:23:42 +02:00
parent cef2ad455b
commit a3227d42f0
2 changed files with 3 additions and 4 deletions

View file

@ -928,10 +928,9 @@ namespace Ryujinx.Ui.App.Common
{ {
updatePath = JsonHelper.DeserializeFromFile(titleUpdateMetadataPath, _titleSerializerContext.TitleUpdateMetadata).Selected; updatePath = JsonHelper.DeserializeFromFile(titleUpdateMetadataPath, _titleSerializerContext.TitleUpdateMetadata).Selected;
if (!string.IsNullOrWhiteSpace(updatePath) if (!string.IsNullOrWhiteSpace(updatePath) && !File.Exists(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)) if (File.Exists(updatePath))

View file

@ -88,7 +88,7 @@ namespace Ryujinx.Ui.Windows
{ {
if (!File.Exists(path)) 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; return;
} }