Stub AppletOE UnlockExit (#279)

* Implement AppletOE UnlockExit
This commit is contained in:
Rygnus 2018-07-20 00:27:50 +01:00 committed by gdkchan
parent 5fe0bc584b
commit 241b46540d

View file

@ -17,7 +17,9 @@ namespace Ryujinx.HLE.OsHle.Services.Am
{ {
m_Commands = new Dictionary<int, ServiceProcessRequest>() m_Commands = new Dictionary<int, ServiceProcessRequest>()
{ {
{ 0, Exit },
{ 1, LockExit }, { 1, LockExit },
{ 2, UnlockExit },
{ 9, GetLibraryAppletLaunchableEvent }, { 9, GetLibraryAppletLaunchableEvent },
{ 10, SetScreenShotPermission }, { 10, SetScreenShotPermission },
{ 11, SetOperationModeChangedNotification }, { 11, SetOperationModeChangedNotification },
@ -31,8 +33,24 @@ namespace Ryujinx.HLE.OsHle.Services.Am
LaunchableEvent = new KEvent(); LaunchableEvent = new KEvent();
} }
public long Exit(ServiceCtx Context)
{
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
return 0;
}
public long LockExit(ServiceCtx Context) 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; return 0;
} }