Changes

Jump to navigation Jump to search
603 bytes added ,  23:15, 29 November 2020
no edit summary
Line 716: Line 716:  
== GetPalmaOperationInfo ==
 
== GetPalmaOperationInfo ==
 
Takes a [[#PalmaConnectionHandle]], a type-0x6 output buffer, returns an output u64.
 
Takes a [[#PalmaConnectionHandle]], a type-0x6 output buffer, returns an output u64.
 +
 +
sdknso passes [[#PalmaOperationInfo]]+0x8 size 0x140 for the output buffer. After using the cmd successfully, [[#GetPalmaOperationResult]] is used.
    
== PlayPalmaActivity ==
 
== PlayPalmaActivity ==
Line 764: Line 766:  
== GetPalmaOperationResult ==
 
== GetPalmaOperationResult ==
 
Takes an input [[#PalmaConnectionHandle]], no output.
 
Takes an input [[#PalmaConnectionHandle]], no output.
 +
 +
sdknso only uses this from the wrapper for [[#GetPalmaOperationInfo]].
    
== ReadPalmaPlayLog ==
 
== ReadPalmaPlayLog ==
Line 6,952: Line 6,956:  
= PalmaConnectionHandle =
 
= PalmaConnectionHandle =
 
This is "nn::hid::PalmaConnectionHandle". This is a 0x8-byte struct with 8-byte alignment.
 
This is "nn::hid::PalmaConnectionHandle". This is a 0x8-byte struct with 8-byte alignment.
 +
 +
= PalmaOperationInfo =
 +
This is "nn::hid::PalmaOperationInfo". This is a 0x148-byte struct.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x4 || sdknso sets this to the output value from [[#GetPalmaOperationInfo]], sdknso will Abort if it's larger than 0x10.
 +
|-
 +
| 0x4 || 0x4 || Result
 +
|-
 +
| 0x8 || 0x140 || Buffer for [[#GetPalmaOperationInfo]].
 +
|}
    
= PalmaApplicationSectionAccessBuffer =
 
= PalmaApplicationSectionAccessBuffer =

Navigation menu