Difference between revisions of "Album Applet"

From Nintendo Switch Brew
Jump to navigation Jump to search
(Created page with "This is the Album (<code>PhotoViewer</code>) applet launched by Home Menu. See AM_services#Library_Applets. == Usage == User-processes should push a common arguments stru...")
 
Line 3: Line 3:
  
 
== Usage ==
 
== Usage ==
User-processes should push a common arguments struct (version=0x10000) as well as <code>u8 type</code>. See below for the commonargs PlayStartupSound flag value. After starting the applet, official sw immediately closes it (no output storage is handled).
+
User-processes should push a common arguments struct (version=0x10000) as well as <code>u8 arg</code>. See below for the commonargs PlayStartupSound flag value. After starting the applet, official sw immediately closes it (no output storage is handled).
  
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Name || Type || PlayStartupSound
+
! Name || Arg value || PlayStartupSound
 
|-
 
|-
 
| <code>ShowAlbumFiles</code> || 0 || false
 
| <code>ShowAlbumFiles</code> || 0 || false

Revision as of 01:07, 9 September 2019

This is the Album (PhotoViewer) applet launched by Home Menu. See AM_services#Library_Applets.

Usage

User-processes should push a common arguments struct (version=0x10000) as well as u8 arg. See below for the commonargs PlayStartupSound flag value. After starting the applet, official sw immediately closes it (no output storage is handled).

Name Arg value PlayStartupSound
ShowAlbumFiles 0 false
ShowAllAlbumFiles 1 false
ShowAllAlbumFilesForHomeMenu 2 true