mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-27 15:39:14 +00:00
Should allow Ring Fit and other games that rely heavily on the notification system to get in-game (?), needs testing. if you're wondering what happened to the first branch -- no you're not. (duplicated history somehow??) Reviewed-on: https://git.ryujinx.app/projects/Ryubing/pulls/6
25 lines
923 B
C#
25 lines
923 B
C#
namespace Ryujinx.HLE.HOS.Services.Notification
|
|
{
|
|
[Service("notif:s")] // 9.0.0+
|
|
class INotificationServices : IpcService
|
|
{
|
|
public INotificationServices(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;
|
|
}
|
|
}
|
|
}
|