aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Switch.cs
diff options
context:
space:
mode:
authorThomas Guillemard <thog@protonmail.com>2018-07-17 21:14:27 +0200
committergdkchan <gab.dark.100@gmail.com>2018-07-17 16:14:27 -0300
commitc2c765b30fdfa9184df580133e22ae946eebc022 (patch)
tree3784a0bdaab54f47c6cdc0ca83ed78a0de4563f5 /Ryujinx.HLE/Switch.cs
parent5d698a7d8d240b9d324e385fb05c0ce9f26fb410 (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.cs3
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);
}