NEWSS:SetInfoLEDPattern: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
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 ..."
 
mNo edit summary
 
Line 22: Line 22:
|-
|-
| 1
| 1
| Resultcode
| Result code
|}
|}



Latest revision as of 19:12, 4 June 2018

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 Result code

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.