aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMutantAura <44103205+MutantAura@users.noreply.github.com>2022-04-08 10:09:35 +0100
committerGitHub <noreply@github.com>2022-04-08 11:09:35 +0200
commit6a9e9b536086e5f50388be215826188627a06ba4 (patch)
treef81caf767e7cd98fd1269fa1efdeec0e8b49755a
parent952f6f8a65ca72ab5e53fb03f3b4bd0194c4a34f (diff)
Remove save data creation prompt (#3252)1.1.96
* begone * review * mods directory update
-rw-r--r--Ryujinx.HLE/HOS/ModLoader.cs2
-rw-r--r--Ryujinx/Ui/Widgets/GameTableContextMenu.cs17
2 files changed, 3 insertions, 16 deletions
diff --git a/Ryujinx.HLE/HOS/ModLoader.cs b/Ryujinx.HLE/HOS/ModLoader.cs
index 4f379033..c24f0f74 100644
--- a/Ryujinx.HLE/HOS/ModLoader.cs
+++ b/Ryujinx.HLE/HOS/ModLoader.cs
@@ -161,7 +161,7 @@ namespace Ryujinx.HLE.HOS
if (titleModsPath == null)
{
- Logger.Info?.Print(LogClass.ModLoader, $"Creating mods dir for Title {titleId.ToUpper()}");
+ Logger.Info?.Print(LogClass.ModLoader, $"Creating mods directory for Title {titleId.ToUpper()}");
titleModsPath = contentsDir.CreateSubdirectory(titleId);
}
diff --git a/Ryujinx/Ui/Widgets/GameTableContextMenu.cs b/Ryujinx/Ui/Widgets/GameTableContextMenu.cs
index 306033d2..0e3b4892 100644
--- a/Ryujinx/Ui/Widgets/GameTableContextMenu.cs
+++ b/Ryujinx/Ui/Widgets/GameTableContextMenu.cs
@@ -86,23 +86,10 @@ namespace Ryujinx.Ui.Widgets
if (ResultFs.TargetNotFound.Includes(result))
{
- // Savedata was not found. Ask the user if they want to create it
- using MessageDialog messageDialog = new MessageDialog(null, DialogFlags.Modal, MessageType.Question, ButtonsType.YesNo, null)
- {
- Title = "Ryujinx",
- Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.Resources.Logo_Ryujinx.png"),
- Text = $"There is no savedata for {titleName} [{titleId:x16}]",
- SecondaryText = "Would you like to create savedata for this game?",
- WindowPosition = WindowPosition.Center
- };
-
- if (messageDialog.Run() != (int)ResponseType.Yes)
- {
- return false;
- }
-
ref ApplicationControlProperty control = ref controlHolder.Value;
+ Logger.Info?.Print(LogClass.Application, $"Creating save directory for Title: {titleName} [{titleId:x16}]");
+
if (Utilities.IsZeros(controlHolder.ByteSpan))
{
// If the current application doesn't have a loaded control property, create a dummy one