Line 310: |
Line 310: |
| |} | | |} |
| | | |
− | These commands copy data from/to a state buffer and the user specified buffer. The size of the state buffer is 0x400-bytes.
| + | ReadThemeStorage/WriteThemeStorage: these commands copy data from/to a state buffer and the user specified buffer. The size of the state buffer is 0x400-bytes. |
| | | |
| == ILibraryAppletProxy == | | == ILibraryAppletProxy == |
Line 579: |
Line 579: |
| | 27 || [5.0.0+] CreateCacheStorage || | | | 27 || [5.0.0+] CreateCacheStorage || |
| |- | | |- |
− | | 30 || BeginBlockingHomeButtonShortAndLongPressed || | + | | 30 || [[#BeginBlockingHomeButtonShortAndLongPressed]] || |
| |- | | |- |
| | 31 || [[#EndBlockingHomeButtonShortAndLongPressed]] || | | | 31 || [[#EndBlockingHomeButtonShortAndLongPressed]] || |
Line 627: |
Line 627: |
| | 123 || [5.0.0+] [[#GetPreviousProgramIndex]] || | | | 123 || [5.0.0+] [[#GetPreviousProgramIndex]] || |
| |- | | |- |
− | | 124 || [6.0.0+] EnableApplicationAllThreadDumpOnCrash || | + | | 124 || [6.0.0+] [[#EnableApplicationAllThreadDumpOnCrash]] || |
| |- | | |- |
− | | 130 || [8.0.0+] GetGpuErrorDetectedSystemEvent || | + | | 130 || [8.0.0+] [[#GetGpuErrorDetectedSystemEvent]] || |
| |- | | |- |
| | 500 || [5.0.0+] StartContinuousRecordingFlushForDebug || | | | 500 || [5.0.0+] StartContinuousRecordingFlushForDebug || |
Line 688: |
Line 688: |
| | | |
| The output struct is "nn::oe::DisplayVersion". This the DisplayVersion string copied from the application [[NACP_Format|control.nacp]], this is always NUL-terminated. | | The output struct is "nn::oe::DisplayVersion". This the DisplayVersion string copied from the application [[NACP_Format|control.nacp]], this is always NUL-terminated. |
| + | |
| + | ==== BeginBlockingHomeButtonShortAndLongPressed ==== |
| + | Takes an input u64, no output. |
| + | |
| + | Official user-processes use hard-coded value 0 for the u64. |
| + | |
| + | Starts blocking the Home button. |
| | | |
| ==== EndBlockingHomeButtonShortAndLongPressed ==== | | ==== EndBlockingHomeButtonShortAndLongPressed ==== |
| No input/output. | | No input/output. |
| + | |
| + | Ends the blocking started by [[#BeginBlockingHomeButtonShortAndLongPressed]]. |
| | | |
| ==== BeginBlockingHomeButton ==== | | ==== BeginBlockingHomeButton ==== |
Line 776: |
Line 785: |
| ==== GetPreviousProgramIndex ==== | | ==== GetPreviousProgramIndex ==== |
| No input, returns an output s32. | | No input, returns an output s32. |
| + | |
| + | ==== EnableApplicationAllThreadDumpOnCrash ==== |
| + | Takes an input u8 bool, no output. |
| + | |
| + | ==== GetGpuErrorDetectedSystemEvent ==== |
| + | No input, returns an output Event handle with autoclear=false. |
| + | |
| + | This is used by sdknso during applet-application initialization. A seperate thread is setup where event-waiting is handled. When the Event is signaled, official sw will assert. |
| | | |
| ==== CreateMovieMaker ==== | | ==== CreateMovieMaker ==== |
Line 1,961: |
Line 1,978: |
| ! Offset || Size || Description | | ! Offset || Size || Description |
| |- | | |- |
− | | 0x0 || 0x4 || Unknown. Default is 0. | + | | 0x0 || 0x4 || Unknown. Default is 0 for non-Quest. |
| |- | | |- |
− | | 0x4 || 0x4 || Unknown. Default is 0. | + | | 0x4 || 0x4 || Unknown. Default is 0 for non-Quest. |
| |- | | |- |
| | 0x8 || 0x4 || float. Must be in the range of 0.0f-1.0f. The default is 1.0f. | | | 0x8 || 0x4 || float. Must be in the range of 0.0f-1.0f. The default is 1.0f. |
Line 1,971: |
Line 1,988: |
| | | |
| 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. |
| | | |
| = Notes = | | = Notes = |