NEWSU:AddNotification

From 3dbrew
Revision as of 23:56, 12 December 2014 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000100C8] |- | 1 | Header buffer size |- | 2 | Message buffer size |- | 3 | Imag...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x000100C8]
1 Header buffer size
2 Message buffer size
3 Image buffer size, can be zero
4 Value 0x20
5 ProcessID set by the ARM11-kernel.
6 (HdrSize<<4) | 10
7 Header buffer ptr
8 (MsgSize<<4) | 10
9 Message buffer ptr
10 (ImageSize<<4) | 10
11 Image buffer ptr, can be 0x0

Response[edit]

Index Word Description
0 Header code
1 Resultcode

Description[edit]

This is similar to NEWSS:AddNotification. This uses FS:GetProgramLaunchInfo with the input processID to set the u64 programID @ notificationhdr+8.