diff options
author | Thomas Guillemard <me@thog.eu> | 2019-09-08 03:59:41 +0200 |
---|---|---|
committer | jduncanator <1518948+jduncanator@users.noreply.github.com> | 2019-09-08 11:59:41 +1000 |
commit | 9afb8ad485b364e3ecf738b1175c32cce95507bd (patch) | |
tree | edab74a84674690afb0782ac6c0be9fb68925f7c /Ryujinx/Program.cs | |
parent | 7ff394e68ae0f80f02530a5947e365f42fc5c910 (diff) |
ui: Fix segfault on Linux when passing a program via command line (#764)
Diffstat (limited to 'Ryujinx/Program.cs')
-rw-r--r-- | Ryujinx/Program.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs index 5663a5d5..94cbd80d 100644 --- a/Ryujinx/Program.cs +++ b/Ryujinx/Program.cs @@ -30,6 +30,11 @@ namespace Ryujinx gtkApplication.AddWindow(mainWindow); mainWindow.Show(); + if (args.Length == 1) + { + mainWindow.LoadApplication(args[0]); + } + Application.Run(); } |