PR changes

This commit is contained in:
Tomas Voracek 2023-12-21 19:50:49 +01:00
parent a3227d42f0
commit 2a60254107
3 changed files with 3 additions and 3 deletions

View file

@ -930,7 +930,7 @@ namespace Ryujinx.Ui.App.Common
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 ApplicationId: {titleId} was not found! Game saves can become corrupted!");
} }
if (File.Exists(updatePath)) if (File.Exists(updatePath))

View file

@ -973,8 +973,7 @@ namespace Ryujinx.Ui
(Nca patchNca, _) = ApplicationLibrary.GetGameUpdateData(_virtualFileSystem, titleId, 0, out string updatePath); (Nca patchNca, _) = ApplicationLibrary.GetGameUpdateData(_virtualFileSystem, titleId, 0, out string updatePath);
if (!string.IsNullOrWhiteSpace(updatePath) if (!string.IsNullOrWhiteSpace(updatePath) && patchNca is null)
&& patchNca is null)
{ {
MessageDialog updateMissingWarningDialog = new(this, DialogFlags.Modal, MessageType.Warning, ButtonsType.YesNo, null) MessageDialog updateMissingWarningDialog = new(this, DialogFlags.Modal, MessageType.Warning, ButtonsType.YesNo, null)
{ {

View file

@ -89,6 +89,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;
} }