Fix stubs (again)
This commit is contained in:
parent
ee78c1c6bc
commit
fe4c6e1828
1 changed files with 3 additions and 13 deletions
|
@ -37,31 +37,21 @@ namespace Ryujinx.HLE.OsHle.Services.Am
|
||||||
|
|
||||||
public long Exit(ServiceCtx Context)
|
public long Exit(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
if(IsExitLocked == false)
|
Context.Ns.Log.PrintStub(LogClass.ServiceAm, $"Stubbed. Applet requested exit (IsExitLocked = {IsExitLocked})");
|
||||||
{
|
|
||||||
Context.Ns.Log.PrintInfo("Applet requested exit (IsExitLocked = false)");
|
|
||||||
//Exit the applet
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Context.Ns.Log.PrintInfo("Applet requested exit, but not allowed (IsExitLocked = true)");
|
|
||||||
}
|
|
||||||
|
|
||||||
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long LockExit(ServiceCtx Context)
|
public long LockExit(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
|
|
||||||
IsExitLocked = true;
|
IsExitLocked = true;
|
||||||
|
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long UnlockExit(ServiceCtx Context)
|
public long UnlockExit(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
|
|
||||||
IsExitLocked = false;
|
IsExitLocked = false;
|
||||||
|
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue