mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-22 14:55:54 +01:00
24 lines
743 B
C#
24 lines
743 B
C#
|
using Ryujinx.Common;
|
|||
|
|
|||
|
namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.LibraryAppletProxy
|
|||
|
{
|
|||
|
class IProcessWindingController : IpcService
|
|||
|
{
|
|||
|
public IProcessWindingController() { }
|
|||
|
|
|||
|
[CommandHipc(0)]
|
|||
|
// GetLaunchReason() -> nn::am::service::AppletProcessLaunchReason
|
|||
|
public ResultCode GetLaunchReason(ServiceCtx context)
|
|||
|
{
|
|||
|
// NOTE: Flag is set by using an internal field.
|
|||
|
AppletProcessLaunchReason appletProcessLaunchReason = new AppletProcessLaunchReason()
|
|||
|
{
|
|||
|
Flag = 0
|
|||
|
};
|
|||
|
|
|||
|
context.ResponseData.WriteStruct(appletProcessLaunchReason);
|
|||
|
|
|||
|
return ResultCode.Success;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|