[IApplicationFunctions] Stub GetPseudoDeviceId
This commit is contained in:
parent
c97f62f6ec
commit
cfa4c87530
1 changed files with 13 additions and 2 deletions
|
@ -20,7 +20,8 @@ namespace Ryujinx.Core.OsHle.Services.Am
|
||||||
{ 21, GetDesiredLanguage },
|
{ 21, GetDesiredLanguage },
|
||||||
{ 22, SetTerminateResult },
|
{ 22, SetTerminateResult },
|
||||||
{ 23, GetDisplayVersion },
|
{ 23, GetDisplayVersion },
|
||||||
{ 40, NotifyRunning }
|
{ 40, NotifyRunning },
|
||||||
|
{ 50, GetPseudoDeviceId }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,6 +89,16 @@ namespace Ryujinx.Core.OsHle.Services.Am
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long GetPseudoDeviceId(ServiceCtx Context)
|
||||||
|
{
|
||||||
|
Context.Ns.Log.PrintStub(LogClass.ServiceAm, "Stubbed.");
|
||||||
|
|
||||||
|
Context.ResponseData.Write(0L);
|
||||||
|
Context.ResponseData.Write(0L);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
private byte[] MakeLaunchParams()
|
private byte[] MakeLaunchParams()
|
||||||
{
|
{
|
||||||
//Size needs to be at least 0x88 bytes otherwise application errors.
|
//Size needs to be at least 0x88 bytes otherwise application errors.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue