Line 774: |
Line 774: |
| No input/output. | | No input/output. |
| | | |
− | Clears the UserChannel. | + | Clears the UserChannel used by [[#UnpopToUserChannel]]. |
| | | |
| ==== UnpopToUserChannel ==== | | ==== UnpopToUserChannel ==== |
| Takes an input [[#IStorage]], no output. | | Takes an input [[#IStorage]], no output. |
| | | |
− | The input storage is pushed to the UserChannel, which is also used by [[#ClearUserChannel]]. | + | The input storage is pushed to the UserChannel. This is the same channel used by [[#LaunchParameterKind]] value 1. |
| | | |
| User-processes create a storage using data specified by the user (written to offset=0 size=inputsize), with max size 0x1000. This storage is then used with this cmd. | | User-processes create a storage using data specified by the user (written to offset=0 size=inputsize), with max size 0x1000. This storage is then used with this cmd. |
Line 1,966: |
Line 1,966: |
| | 0x4 || 0x4 || See [[#ApplicationAttribute]]. | | | 0x4 || 0x4 || See [[#ApplicationAttribute]]. |
| |- | | |- |
− | | 0x8 || 0x4 || See [[#ApplicationAttribute]]. | + | | 0x8 || 0x4 || [7.0.0+] See [[#ApplicationAttribute]]. |
| |} | | |} |
| | | |
Line 1,978: |
Line 1,978: |
| ! Offset || Size || Description | | ! Offset || Size || Description |
| |- | | |- |
− | | 0x0 || 0x4 || Unknown. Default is 0 for non-Quest. | + | | 0x0 || 0x4 || Default is 0 for non-Quest. Only used when non-zero: unknown value in seconds. |
| |- | | |- |
− | | 0x4 || 0x4 || Unknown. Default is 0 for non-Quest. | + | | 0x4 || 0x4 || Default is 0 for non-Quest. Only used when non-zero: unknown value in seconds. |
| |- | | |- |
− | | 0x8 || 0x4 || float. Must be in the range of 0.0f-1.0f. The default is 1.0f. | + | | 0x8 || 0x4 || float audio volume. Must be in the range of 0.0f-1.0f. The default is 1.0f. |
| |- | | |- |
− | | 0xC || 0x14 || Unknown. Default is 0. | + | | 0xC || 0x14 || Unused. Default is 0. |
| |} | | |} |
| | | |
| This struct is "nn::am::ApplicationAttribute". This struct is 0x20-bytes. | | This struct is "nn::am::ApplicationAttribute". This struct is 0x20-bytes. |
| | | |
− | The function called internally by CreateApplication* only uses the first 0xC-bytes from ApplicationAttribute.
| + | Internally AM only uses the first 0xC-bytes from ApplicationAttribute, regardless of the cmd. |
| | | |
| = Notes = | | = Notes = |