aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRygnus <firewolfgames.ryanteal@gmail.com>2018-07-20 00:27:50 +0100
committergdkchan <gab.dark.100@gmail.com>2018-07-19 20:27:50 -0300
commit241b46540d4e1ab909cc8b1b494189c4800ebcfd (patch)
tree6677b3df60886754aba83c03154d87467acd7901
parent5fe0bc584b21c660e083a9cb37aa0a8be4719f95 (diff)
Stub AppletOE UnlockExit (#279)
* Implement AppletOE UnlockExit
-rw-r--r--Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs20
1 files changed, 19 insertions, 1 deletions
diff --git a/Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs b/Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs
index ee0fb915..10d69b9b 100644
--- a/Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs
+++ b/Ryujinx.HLE/OsHle/Services/Am/ISelfController.cs
@@ -17,7 +17,9 @@ namespace Ryujinx.HLE.OsHle.Services.Am
{
m_Commands = new Dictionary<int, ServiceProcessRequest>()
{
+ { 0, Exit },
{ 1, LockExit },
+ { 2, UnlockExit },
{ 9, GetLibraryAppletLaunchableEvent },
{ 10, SetScreenShotPermission },
{ 11, SetOperationModeChangedNotification },
@@ -31,8 +33,24 @@ namespace Ryujinx.HLE.OsHle.Services.Am
LaunchableEvent = new KEvent();
}
+ public long Exit(ServiceCtx Context)
+ {
+ Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
+
+ return 0;
+ }
+
public long LockExit(ServiceCtx Context)
{
+ Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
+
+ return 0;
+ }
+
+ public long UnlockExit(ServiceCtx Context)
+ {
+ Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
+
return 0;
}
@@ -114,4 +132,4 @@ namespace Ryujinx.HLE.OsHle.Services.Am
return 0;
}
}
-} \ No newline at end of file
+}