Capture services: Difference between revisions
→caps:c: pictures can be hard (caps:c != caps:sc). |
No edit summary |
||
Line 319: | Line 319: | ||
The data at offset 0x10 size 0x8 corresponds to each field in the Album entry filename, prior to the "-". | The data at offset 0x10 size 0x8 corresponds to each field in the Album entry filename, prior to the "-". | ||
= AlbumFileEntry = | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset || Size || Description | |||
|- | |||
| 0x0 || 0x20 || Unknown. | |||
|} | |||
This is "nn::album::AlbumFileEntry". This is a 0x20-byte struct. | |||
= ApplicationAlbumEntry = | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset || Size || Description | |||
|- | |||
| 0x0 || 0x20 || Unknown. | |||
|} | |||
This is "nn::capsrv::ApplicationAlbumEntry". This is a 0x20-byte struct. | |||
With the output from [[Applet_Manager_services#caps:su|caps:su]] sdk-nso only uses this for the [[Internet_Browser|Share-applet]] (when the output is used at all), with everything else (which has a different struct format) it's used as an [[#AlbumFileEntry]]. In those cases with the <code>nn::album</code> wrapper funcs, it's "converted" by just copying the struct (arrays are "converted" by just returning a ptr to the input array). | |||
= Notes = | = Notes = |