2021-06-28 19:54:45 +01:00
|
|
|
|
using Ryujinx.Common;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.LibraryAppletProxy
|
|
|
|
|
{
|
|
|
|
|
class IProcessWindingController : IpcService
|
|
|
|
|
{
|
|
|
|
|
public IProcessWindingController() { }
|
|
|
|
|
|
2023-04-15 00:00:34 +01:00
|
|
|
|
[CommandCmif(0)]
|
2021-06-28 19:54:45 +01:00
|
|
|
|
// 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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|