Update ISelfController.cs

Stubbed
This commit is contained in:
Ac_K 2018-07-20 00:42:43 +02:00 committed by GitHub
commit 101c39e491
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,8 +12,6 @@ namespace Ryujinx.HLE.OsHle.Services.Am
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands; public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
private KEvent LaunchableEvent; private KEvent LaunchableEvent;
private const bool IsExitLocked = false;
public ISelfController() public ISelfController()
{ {
@ -37,15 +35,13 @@ namespace Ryujinx.HLE.OsHle.Services.Am
public long Exit(ServiceCtx Context) public long Exit(ServiceCtx Context)
{ {
Context.Ns.Log.PrintStub(LogClass.ServiceAm, $"Stubbed. Applet requested exit (IsExitLocked = {IsExitLocked})"); Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
return 0; return 0;
} }
public long LockExit(ServiceCtx Context) public long LockExit(ServiceCtx Context)
{ {
IsExitLocked = true;
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed."); Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
return 0; return 0;
@ -53,8 +49,6 @@ namespace Ryujinx.HLE.OsHle.Services.Am
public long UnlockExit(ServiceCtx Context) public long UnlockExit(ServiceCtx Context)
{ {
IsExitLocked = false;
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed."); Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
return 0; return 0;