diff options
| author | Thomas Guillemard <thog@protonmail.com> | 2018-07-17 21:14:27 +0200 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-07-17 16:14:27 -0300 |
| commit | c2c765b30fdfa9184df580133e22ae946eebc022 (patch) | |
| tree | 3784a0bdaab54f47c6cdc0ca83ed78a0de4563f5 /Ryujinx.HLE/Switch.cs | |
| parent | 5d698a7d8d240b9d324e385fb05c0ce9f26fb410 (diff) | |
hbabi: Implement argv (#272)
This commit implements the argv config key in Ryujinx (by creating a temporary copy of the homebrew executable in the sdmc VFS) to make it possible
to load libnx's "romfs" files.
This commit also call Os.Dispose in Ns.OnFinish to dispose all resources when exiting
Diffstat (limited to 'Ryujinx.HLE/Switch.cs')
| -rw-r--r-- | Ryujinx.HLE/Switch.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.HLE/Switch.cs b/Ryujinx.HLE/Switch.cs index 1946b187..74c0564a 100644 --- a/Ryujinx.HLE/Switch.cs +++ b/Ryujinx.HLE/Switch.cs @@ -81,8 +81,9 @@ namespace Ryujinx.HLE Gpu.Fifo.DispatchCalls(); } - internal virtual void OnFinish(EventArgs e) + public virtual void OnFinish(EventArgs e) { + Os.Dispose(); Finish?.Invoke(this, e); } |
