Line 323: |
Line 323: |
| | | |
| This was added with [5.0.0+]. | | This was added with [5.0.0+]. |
| + | |
| + | This is opened prior to using [[#OpenAlbumMovieReadStream]], when it previously wasn't opened. Official sw only closes this session when closing caps:u, not when using [[#CloseAlbumMovieReadStream]]. |
| | | |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
Line 328: |
Line 330: |
| ! Cmd || Name | | ! Cmd || Name |
| |- | | |- |
− | | 2001 || OpenAlbumMovieReadStream | + | | 2001 || [[#OpenAlbumMovieReadStream]] |
| |- | | |- |
− | | 2002 || CloseAlbumMovieReadStream | + | | 2002 || [[#CloseAlbumMovieReadStream]] |
| |- | | |- |
− | | 2003 || GetAlbumMovieReadStreamMovieDataSize | + | | 2003 || [[#GetAlbumMovieReadStreamMovieDataSize]] |
| |- | | |- |
− | | 2004 || ReadMovieDataFromAlbumMovieReadStream | + | | 2004 || [[#ReadMovieDataFromAlbumMovieReadStream]] |
| |- | | |- |
− | | 2005 || GetAlbumMovieReadStreamBrokenReason | + | | 2005 || [[#GetAlbumMovieReadStreamBrokenReason]] |
| |} | | |} |
| + | |
| + | === OpenAlbumMovieReadStream === |
| + | Takes a PID, an input [[#ApplicationAlbumFileEntry]], an u64 [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], and returns an output u64 [[#AlbumMovieReadStreamHandle]]. |
| + | |
| + | === CloseAlbumMovieReadStream === |
| + | Takes an input u64 [[#AlbumMovieReadStreamHandle]], no output. |
| + | |
| + | === GetAlbumMovieReadStreamMovieDataSize === |
| + | Takes an input u64 [[#AlbumMovieReadStreamHandle]], returns an output u64. |
| + | |
| + | === ReadMovieDataFromAlbumMovieReadStream === |
| + | Takes a type-0x6 output buffer, an input u64 [[#AlbumMovieReadStreamHandle]], an input s64, and returns an output u64. |
| + | |
| + | === GetAlbumMovieReadStreamBrokenReason === |
| + | Takes an input u64 [[#AlbumMovieReadStreamHandle]], no output. |
| | | |
| = ShimLibraryVersion = | | = ShimLibraryVersion = |