aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx/Program.cs')
-rw-r--r--src/Ryujinx/Program.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Ryujinx/Program.cs b/src/Ryujinx/Program.cs
index afb6a992..14062481 100644
--- a/src/Ryujinx/Program.cs
+++ b/src/Ryujinx/Program.cs
@@ -7,6 +7,7 @@ using Ryujinx.Common.SystemInterop;
using Ryujinx.Modules;
using Ryujinx.SDL2.Common;
using Ryujinx.Ui;
+using Ryujinx.Ui.App.Common;
using Ryujinx.Ui.Common;
using Ryujinx.Ui.Common.Configuration;
using Ryujinx.Ui.Common.Helper;
@@ -332,7 +333,12 @@ namespace Ryujinx
if (CommandLineState.LaunchPathArg != null)
{
- mainWindow.RunApplication(CommandLineState.LaunchPathArg, CommandLineState.StartFullscreenArg);
+ ApplicationData applicationData = new()
+ {
+ Path = CommandLineState.LaunchPathArg,
+ };
+
+ mainWindow.RunApplication(applicationData, CommandLineState.StartFullscreenArg);
}
if (ConfigurationState.Instance.CheckUpdatesOnStart.Value && Updater.CanUpdate(false))