NEWSS:SetInfoLEDPattern

From 3dbrew
Revision as of 21:27, 12 December 2014 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000E0040] |- | 1 | u32 array index, internally this is handled as an u8. When a ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x000E0040]
1 u32 array index, internally this is handled as an u8. When a certain state field is zero, news-module internally sets bit0 in this index, otherwise bit0 is cleared.

Response

Index Word Description
0 Header code
1 Resultcode

Description

This uses the input array index value to load data from an array, the loaded data is then used with PTMSYSM:SetInfoLEDPattern.

The array index is not validated at all. Using out-of-bounds values should not be attempted at all, since invalid data with PTMSYSM:SetInfoLEDPattern can cause a brick.