mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-05 11:59:15 +00:00
rider moment
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
namespace Ryujinx.HLE.HOS.Services.Notification
|
||||||
|
{
|
||||||
|
[Service("notif:s")] // 9.0.0+
|
||||||
|
class INotificationServicesForSystem : IpcService
|
||||||
|
{
|
||||||
|
public INotificationServicesForSystem(ServiceCtx context) { }
|
||||||
|
|
||||||
|
[CommandCmif(1000)] // 9.0.0+
|
||||||
|
// GetNotificationCount() -> nn::notification::server::INotificationSystemEventAccessor
|
||||||
|
public ResultCode GetNotificationCount(ServiceCtx context)
|
||||||
|
{
|
||||||
|
MakeObject(context, new INotificationSystemEventAccessor(context));
|
||||||
|
return ResultCode.Success;
|
||||||
|
}
|
||||||
|
|
||||||
|
[CommandCmif(1040)] // 9.0.0+
|
||||||
|
// GetNotificationSendingNotifier() -> nn::notification::server::INotificationSystemEventAccessor
|
||||||
|
public ResultCode GetNotificationSendingNotifier(ServiceCtx context)
|
||||||
|
{
|
||||||
|
MakeObject(context, new INotificationSystemEventAccessor(context));
|
||||||
|
return ResultCode.Success;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -14,21 +14,5 @@ namespace Ryujinx.HLE.HOS.Services.Notification
|
|||||||
context.ResponseData.Write(alarmSettingsCount);
|
context.ResponseData.Write(alarmSettingsCount);
|
||||||
return ResultCode.Success;
|
return ResultCode.Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
[CommandCmif(1000)] // 9.0.0+
|
|
||||||
// GetNotificationCount() -> nn::notification::server::INotificationSystemEventAccessor
|
|
||||||
public ResultCode GetNotificationCount(ServiceCtx context)
|
|
||||||
{
|
|
||||||
MakeObject(context, new INotificationSystemEventAccessor(context));
|
|
||||||
return ResultCode.Success;
|
|
||||||
}
|
|
||||||
|
|
||||||
[CommandCmif(1040)] // 9.0.0+
|
|
||||||
// GetNotificationSendingNotifier() -> nn::notification::server::INotificationSystemEventAccessor
|
|
||||||
public ResultCode GetNotificationSendingNotifier(ServiceCtx context)
|
|
||||||
{
|
|
||||||
MakeObject(context, new INotificationSystemEventAccessor(context));
|
|
||||||
return ResultCode.Success;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user