BOSSU:GetNsDataIdList: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
{{IPC/RequestEntry|u32 filter}} | {{IPC/RequestEntry|u32 filter}} | ||
{{IPC/RequestEntry|Buffer size in words(max entries).}} | {{IPC/RequestEntry|Buffer size in words(max entries).}} | ||
{{IPC/RequestEntry|u16, starting word-index in the internal NsDataId list | {{IPC/RequestEntry|u16, starting word-index in the internal NsDataId list.}} | ||
{{IPC/RequestEntry|u32, | {{IPC/RequestEntry|u32, start_NsDataId.}} | ||
{{IPC/MapPointerW|Destination pointer}} | {{IPC/MapPointerW|Destination pointer}} | ||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
Line 22: | Line 22: | ||
Content filtering is enabled when this word isn't 0xffffffff. This is only used for the following: <code>if(filterword_u16high!=contententryword_u16high || (filterword_u16low & contententryword_u16low) == 0)continue;</code> The contententryword is separate from NsDataId. The NsDataId for the content entry is only written to the output when these checks pass. | Content filtering is enabled when this word isn't 0xffffffff. This is only used for the following: <code>if(filterword_u16high!=contententryword_u16high || (filterword_u16low & contententryword_u16low) == 0)continue;</code> The contententryword is separate from NsDataId. The NsDataId for the content entry is only written to the output when these checks pass. | ||
= | =Start NsDataId= | ||
This field is only used when starting_wordindex is non-zero or when this field is non-zero. | This field is only used when starting_wordindex is non-zero or when this field is non-zero. | ||
The NsDataId at the specified start-wordindex must match this field, otherwise error 0xD840F846 is returned. | The NsDataId at the specified start-wordindex must match this field, otherwise error 0xD840F846 is returned. It will then skip normal content entry processing for this matching entry(cur_wordindex is field is increased by 0x1 before starting the content entry processing loop). | ||
=Description= | =Description= |