mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
add missing parameters to comment
move start towards variable name
This commit is contained in:
parent
65717dc020
commit
6d653fd255
@ -26,14 +26,16 @@ Service* capsaGetServiceSession_Accessor(void);
|
||||
* @param[in] storage \ref CapsAlbumStorage
|
||||
* @param[out] count Amount of files.
|
||||
*/
|
||||
Result capsaGetAlbumFileCount(CapsAlbumStorage storage, u64* count);
|
||||
Result capsaGetAlbumFileCount(CapsAlbumStorage storage, u64 *count);
|
||||
|
||||
/**
|
||||
* @brief Gets a listing of \ref CapsAlbumEntry, where the AlbumFile's storage matches the input one.
|
||||
* @param[in] storage \ref CapsAlbumStorage
|
||||
* @param[out] count Total output entries.
|
||||
* @param[out] entries Output array of \ref CapsAlbumEntry.
|
||||
* @param[in] size Reserved size at entries
|
||||
*/
|
||||
Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64* count, CapsAlbumEntry* buffer, u64 size);
|
||||
Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64 *count, CapsAlbumEntry *entries, u64 size);
|
||||
|
||||
/**
|
||||
* @brief Loads a file into the specified buffer.
|
||||
@ -42,7 +44,7 @@ Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64* count, CapsAlbumEntr
|
||||
* @param[out] workbuf File output buffer.
|
||||
* @param[in] workbuf_size Size of the workbuf.
|
||||
*/
|
||||
Result capsaLoadAlbumFile(const CapsAlbumFileId *file_id, u64 *out_size, void* workbuf, u64 workbuf_size);
|
||||
Result capsaLoadAlbumFile(const CapsAlbumFileId *file_id, u64 *out_size, void *workbuf, u64 workbuf_size);
|
||||
|
||||
/**
|
||||
* @brief Deletes an AlbumFile corresponding to the specified \ref CapsAlbumFileId.
|
||||
@ -62,7 +64,7 @@ Result capsaStorageCopyAlbumFile(const CapsAlbumFileId *file_id, CapsAlbumStorag
|
||||
* @param[in] storage \ref CapsAlbumStorage
|
||||
* @param[out] is_mounted
|
||||
*/
|
||||
Result capsaIsAlbumMounted(CapsAlbumStorage storage, bool* is_mounted);
|
||||
Result capsaIsAlbumMounted(CapsAlbumStorage storage, bool *is_mounted);
|
||||
|
||||
/**
|
||||
* @brief Returns the AlbumUsage for a specified \ref CapsAlbumStorage.
|
||||
@ -76,7 +78,7 @@ Result capsaGetAlbumUsage(CapsAlbumStorage storage, CapsAlbumUsage2 *out);
|
||||
* @param[in] file_id \ref CapsAlbumFileId
|
||||
* @param[out] size Size of the file.
|
||||
*/
|
||||
Result capsaGetAlbumFileSize(const CapsAlbumFileId *file_id, u64* size);
|
||||
Result capsaGetAlbumFileSize(const CapsAlbumFileId *file_id, u64 *size);
|
||||
|
||||
/**
|
||||
* @brief Load the Thumbnail for the specified AlbumFile.
|
||||
@ -86,7 +88,7 @@ Result capsaGetAlbumFileSize(const CapsAlbumFileId *file_id, u64* size);
|
||||
* @param[out] image JPEG image output buffer.
|
||||
* @param[in] image_size Image buffer size.
|
||||
*/
|
||||
Result capsaLoadAlbumFileThumbnail(const CapsAlbumFileId *file_id, u64 *out_size, void* image, u64 image_size);
|
||||
Result capsaLoadAlbumFileThumbnail(const CapsAlbumFileId *file_id, u64 *out_size, void *image, u64 image_size);
|
||||
|
||||
/**
|
||||
* @brief Load the ScreenShotImage for the specified AlbumFile.
|
||||
@ -99,7 +101,7 @@ Result capsaLoadAlbumFileThumbnail(const CapsAlbumFileId *file_id, u64 *out_size
|
||||
* @param[out] workbuf Work buffer, cleared to 0 by the cmd before it returns.
|
||||
* @param[in] workbuf_size Work buffer size, must be at least the size of the JPEG within the AlbumFile.
|
||||
*/
|
||||
Result capsaLoadAlbumScreenShotImage(u64* width, u64* height, const CapsAlbumFileId *file_id, void* image, u64 image_size, void* workbuf, u64 workbuf_size);
|
||||
Result capsaLoadAlbumScreenShotImage(u64 *width, u64 *height, const CapsAlbumFileId *file_id, void *image, u64 image_size, void *workbuf, u64 workbuf_size);
|
||||
|
||||
/**
|
||||
* @brief Load the ScreenShotThumbnailImage for the specified AlbumFile.
|
||||
@ -112,7 +114,7 @@ Result capsaLoadAlbumScreenShotImage(u64* width, u64* height, const CapsAlbumFil
|
||||
* @param[out] workbuf Work buffer, cleared to 0 by the cmd before it returns.
|
||||
* @param[in] workbuf_size Work buffer size, must be at least the size of the JPEG within the AlbumFile.
|
||||
*/
|
||||
Result capsaLoadAlbumScreenShotThumbnailImage(u64* width, u64* height, const CapsAlbumFileId *file_id, void* image, u64 image_size, void* workbuf, u64 workbuf_size);
|
||||
Result capsaLoadAlbumScreenShotThumbnailImage(u64 *width, u64 *height, const CapsAlbumFileId *file_id, void *image, u64 image_size, void *workbuf, u64 workbuf_size);
|
||||
|
||||
/**
|
||||
* @brief Load the ScreenShotImage for the specified AlbumFile.
|
||||
@ -126,7 +128,7 @@ Result capsaLoadAlbumScreenShotThumbnailImage(u64* width, u64* height, const Cap
|
||||
* @param[out] workbuf Work buffer, cleared to 0 by the cmd before it returns.
|
||||
* @param[in] workbuf_size Work buffer size, must be at least the size of the JPEG within the AlbumFile.
|
||||
*/
|
||||
Result capsaLoadAlbumScreenShotImageEx(u64* width, u64* height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void* image, u64 image_size, void* workbuf, u64 workbuf_size);
|
||||
Result capsaLoadAlbumScreenShotImageEx(u64 *width, u64 *height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size);
|
||||
|
||||
/**
|
||||
* @brief Load the ScreenShotThumbnailImage for the specified AlbumFile.
|
||||
@ -140,7 +142,7 @@ Result capsaLoadAlbumScreenShotImageEx(u64* width, u64* height, const CapsAlbumF
|
||||
* @param[out] workbuf Work buffer, cleared to 0 by the cmd before it returns.
|
||||
* @param[in] workbuf_size Work buffer size, must be at least the size of the JPEG within the AlbumFile.
|
||||
*/
|
||||
Result capsaLoadAlbumScreenShotThumbnailImageEx(u64* width, u64* height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void* image, u64 image_size, void* workbuf, u64 workbuf_size);
|
||||
Result capsaLoadAlbumScreenShotThumbnailImageEx(u64 *width, u64 *height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size);
|
||||
|
||||
/**
|
||||
* @brief Returns the AlbumUsage for a specified \ref CapsAlbumStorage.
|
||||
@ -169,7 +171,7 @@ Result capsaGetAlbumUsage16(CapsAlbumStorage storage, CapsAlbumUsage16 *out);
|
||||
* @note Wrapper around setsysGetPrimaryAlbumStorage but defaults to NAND if SD isn't available.
|
||||
* @param[out] storage \ref CapsAlbumStorage
|
||||
*/
|
||||
Result capsaGetAutoSavingStorage(CapsAlbumStorage* storage);
|
||||
Result capsaGetAutoSavingStorage(CapsAlbumStorage *storage);
|
||||
|
||||
/**
|
||||
* @brief Gets required size to copy all files from one Storage to another.
|
||||
@ -177,7 +179,7 @@ Result capsaGetAutoSavingStorage(CapsAlbumStorage* storage);
|
||||
* @param[in] src_storage \ref CapsAlbumStorage
|
||||
* @param[out] out Required storage space size.
|
||||
*/
|
||||
Result capsaGetRequiredStorageSpaceSizeToCopyAll(CapsAlbumStorage dst_storage, CapsAlbumStorage src_storage, u64* out);
|
||||
Result capsaGetRequiredStorageSpaceSizeToCopyAll(CapsAlbumStorage dst_storage, CapsAlbumStorage src_storage, u64 *out);
|
||||
|
||||
/**
|
||||
* @brief Load the ScreenShotThumbnailImage for the specified AlbumFile.
|
||||
@ -191,7 +193,7 @@ Result capsaGetRequiredStorageSpaceSizeToCopyAll(CapsAlbumStorage dst_storage, C
|
||||
* @param[out] out Data buffer.
|
||||
* @param[in] out_size Size of the Data buffer.
|
||||
*/
|
||||
Result capsaLoadAlbumScreenShotThumbnailImageEx1(const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void* image, u64 image_size, void* workbuf, u64 workbuf_size, void* out, u64 out_size);
|
||||
Result capsaLoadAlbumScreenShotThumbnailImageEx1(const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size, void *out, u64 out_size);
|
||||
|
||||
/**
|
||||
* @brief Unmounts the specified AlbumStorage.
|
||||
@ -248,7 +250,7 @@ Result capsaGetAlbumMovieStreamSize(u64 stream, u64 *size);
|
||||
* @param[in] size Data buffer size.
|
||||
* @param[out] actual_size Actual read size.
|
||||
*/
|
||||
Result capsaReadMovieDataFromAlbumMovieReadStream(u64 stream, s64 offset, void* buffer, size_t size, u64 *actual_size);
|
||||
Result capsaReadMovieDataFromAlbumMovieReadStream(u64 stream, s64 offset, void *buffer, size_t size, u64 *actual_size);
|
||||
|
||||
/**
|
||||
* @brief Gets the BrokenReason for an AlbumMovieStream.
|
||||
@ -275,11 +277,11 @@ Result capsaGetAlbumMovieReadStreamImageDataSize(u64 stream, u64 *size);
|
||||
* @param[in] size Data buffer size.
|
||||
* @param[out] actual_size Actual read size.
|
||||
*/
|
||||
Result capsaReadImageDataFromAlbumMovieReadStream(u64 stream, s64 offset, void* buffer, size_t size, u64 *actual_size);
|
||||
Result capsaReadImageDataFromAlbumMovieReadStream(u64 stream, s64 offset, void *buffer, size_t size, u64 *actual_size);
|
||||
|
||||
/**
|
||||
* @brief Gets the file attribute of an AlbumMovieStream.
|
||||
* @param[in] stream Stream handle.
|
||||
* @param[out] attr \ref CapsScreenShotAttributeForApplication.
|
||||
*/
|
||||
Result capsaReadFileAttributeFromAlbumMovieReadStream(u64 stream, CapsScreenShotAttributeForApplication* attr);
|
||||
Result capsaReadFileAttributeFromAlbumMovieReadStream(u64 stream, CapsScreenShotAttributeForApplication *attr);
|
||||
|
@ -28,16 +28,16 @@ Service* capsaGetServiceSession_Accessor(void) {
|
||||
return &g_capsaAccessor;
|
||||
}
|
||||
|
||||
static Result _capsaCmdInU8NoOut(Service* srv, u8 inval, u32 cmd_id) {
|
||||
static Result _capsaCmdInU8NoOut(Service *srv, u8 inval, u32 cmd_id) {
|
||||
return serviceDispatchIn(srv, cmd_id, inval);
|
||||
}
|
||||
|
||||
Result capsaGetAlbumFileCount(CapsAlbumStorage storage, u64* count) {
|
||||
Result capsaGetAlbumFileCount(CapsAlbumStorage storage, u64 *count) {
|
||||
u8 inval = storage;
|
||||
return serviceDispatchInOut(&g_capsaSrv, 0, inval, *count);
|
||||
}
|
||||
|
||||
Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64* count, CapsAlbumEntry* buffer, u64 buffer_size) {
|
||||
Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64 *count, CapsAlbumEntry *entries, u64 size) {
|
||||
u8 inval = storage;
|
||||
return serviceDispatchInOut(&g_capsaSrv, 1, inval, *count,
|
||||
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
||||
@ -45,7 +45,7 @@ Result capsaGetAlbumFileList(CapsAlbumStorage storage, u64* count, CapsAlbumEntr
|
||||
);
|
||||
}
|
||||
|
||||
Result capsaLoadAlbumFile(const CapsAlbumFileId *file_id, u64 *out_size, void* workbuf, u64 workbuf_size) {
|
||||
Result capsaLoadAlbumFile(const CapsAlbumFileId *file_id, u64 *out_size, void *workbuf, u64 workbuf_size) {
|
||||
return serviceDispatchInOut(&g_capsaSrv, 2, *file_id, *out_size,
|
||||
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
||||
.buffers = { { workbuf, workbuf_size } },
|
||||
@ -56,7 +56,7 @@ Result capsaDeleteAlbumFile(const CapsAlbumFileId *file_id) {
|
||||
return serviceDispatchIn(&g_capsaSrv, 3, *file_id);
|
||||
}
|
||||
|
||||
Result capsaStorageCopyAlbumFile(const CapsAlbumFileId* file_id, CapsAlbumStorage dst_storage) {
|
||||
Result capsaStorageCopyAlbumFile(const CapsAlbumFileId *file_id, CapsAlbumStorage dst_storage) {
|
||||
struct {
|
||||
u8 storage;
|
||||
u8 pad_x1[0x7];
|
||||
@ -65,7 +65,7 @@ Result capsaStorageCopyAlbumFile(const CapsAlbumFileId* file_id, CapsAlbumStorag
|
||||
return serviceDispatchIn(&g_capsaSrv, 4, in);
|
||||
}
|
||||
|
||||
Result capsaIsAlbumMounted(CapsAlbumStorage storage, bool* is_mounted) {
|
||||
Result capsaIsAlbumMounted(CapsAlbumStorage storage, bool *is_mounted) {
|
||||
u8 inval = storage;
|
||||
return serviceDispatchInOut(&g_capsaSrv, 5, inval, *is_mounted);
|
||||
}
|
||||
@ -75,18 +75,18 @@ Result capsaGetAlbumUsage(CapsAlbumStorage storage, CapsAlbumUsage2 *out) {
|
||||
return serviceDispatchInOut(&g_capsaSrv, 6, inval, *out);
|
||||
}
|
||||
|
||||
Result capsaGetAlbumFileSize(const CapsAlbumFileId *file_id, u64* size) {
|
||||
Result capsaGetAlbumFileSize(const CapsAlbumFileId *file_id, u64 *size) {
|
||||
return serviceDispatchInOut(&g_capsaSrv, 7, *file_id, *size);
|
||||
}
|
||||
|
||||
Result capsaLoadAlbumFileThumbnail(const CapsAlbumFileId *file_id, u64 *out_size, void* image, u64 image_size) {
|
||||
Result capsaLoadAlbumFileThumbnail(const CapsAlbumFileId *file_id, u64 *out_size, void *image, u64 image_size) {
|
||||
return serviceDispatchInOut(&g_capsaSrv, 8, *file_id, *out_size,
|
||||
.buffer_attrs = { SfBufferAttr_HipcMapAlias | SfBufferAttr_Out },
|
||||
.buffers = { { image, image_size } },
|
||||
);
|
||||
}
|
||||
|
||||
static Result _capsaLoadAlbumScreenshot(u64* width, u64* height, const CapsAlbumFileId *file_id, void* image, u64 image_size, void* workbuf, u64 workbuf_size, u32 cmd_id) {
|
||||
static Result _capsaLoadAlbumScreenshot(u64 *width, u64 *height, const CapsAlbumFileId *file_id, void *image, u64 image_size, void *workbuf, u64 workbuf_size, u32 cmd_id) {
|
||||
if (hosversionBefore(2,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
struct {
|
||||
@ -102,15 +102,15 @@ static Result _capsaLoadAlbumScreenshot(u64* width, u64* height, const CapsAlbum
|
||||
return rc;
|
||||
}
|
||||
|
||||
Result capsaLoadAlbumScreenShotImage(u64* width, u64* height, const CapsAlbumFileId *file_id, void* image, u64 image_size, void* workbuf, u64 workbuf_size) {
|
||||
Result capsaLoadAlbumScreenShotImage(u64 *width, u64 *height, const CapsAlbumFileId *file_id, void *image, u64 image_size, void *workbuf, u64 workbuf_size) {
|
||||
return _capsaLoadAlbumScreenshot(width, height, file_id, image, image_size, workbuf, workbuf_size, 9);
|
||||
}
|
||||
|
||||
Result capsaLoadAlbumScreenShotThumbnailImage(u64* width, u64* height, const CapsAlbumFileId *file_id, void* image, u64 image_size, void* workbuf, u64 workbuf_size) {
|
||||
Result capsaLoadAlbumScreenShotThumbnailImage(u64 *width, u64 *height, const CapsAlbumFileId *file_id, void *image, u64 image_size, void *workbuf, u64 workbuf_size) {
|
||||
return _capsaLoadAlbumScreenshot(width, height, file_id, image, image_size, workbuf, workbuf_size, 10);
|
||||
}
|
||||
|
||||
static Result _capsaLoadAlbumScreenshotEx(u64* width, u64* height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void* image, u64 image_size, void* workbuf, u64 workbuf_size, u32 cmd_id) {
|
||||
static Result _capsaLoadAlbumScreenshotEx(u64 *width, u64 *height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size, u32 cmd_id) {
|
||||
if (hosversionBefore(3,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
struct {
|
||||
@ -130,11 +130,11 @@ static Result _capsaLoadAlbumScreenshotEx(u64* width, u64* height, const CapsAlb
|
||||
return rc;
|
||||
}
|
||||
|
||||
Result capsaLoadAlbumScreenShotImageEx(u64* width, u64* height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void* image, u64 image_size, void* workbuf, u64 workbuf_size) {
|
||||
Result capsaLoadAlbumScreenShotImageEx(u64 *width, u64 *height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size) {
|
||||
return _capsaLoadAlbumScreenshotEx(width, height, file_id, opts, image, image_size, workbuf, workbuf_size, 12);
|
||||
}
|
||||
|
||||
Result capsaLoadAlbumScreenShotThumbnailImageEx(u64* width, u64* height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void* image, u64 image_size, void* workbuf, u64 workbuf_size) {
|
||||
Result capsaLoadAlbumScreenShotThumbnailImageEx(u64 *width, u64 *height, const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size) {
|
||||
return _capsaLoadAlbumScreenshotEx(width, height, file_id, opts, image, image_size, workbuf, workbuf_size, 13);
|
||||
}
|
||||
|
||||
@ -158,14 +158,14 @@ Result capsaGetAlbumUsage16(CapsAlbumStorage storage, CapsAlbumUsage16 *out) {
|
||||
return serviceDispatchInOut(&g_capsaSrv, 17, inval, *out);
|
||||
}
|
||||
|
||||
Result capsaGetAutoSavingStorage(CapsAlbumStorage* storage) {
|
||||
Result capsaGetAutoSavingStorage(CapsAlbumStorage *storage) {
|
||||
u8 tmpval = 0;
|
||||
Result rc = serviceDispatchOut(&g_capsaSrv, 401, tmpval);
|
||||
*storage = tmpval;
|
||||
return rc;
|
||||
}
|
||||
|
||||
Result capsaGetRequiredStorageSpaceSizeToCopyAll(CapsAlbumStorage dst_storage, CapsAlbumStorage src_storage, u64* out) {
|
||||
Result capsaGetRequiredStorageSpaceSizeToCopyAll(CapsAlbumStorage dst_storage, CapsAlbumStorage src_storage, u64 *out) {
|
||||
struct {
|
||||
u8 dest;
|
||||
u8 src;
|
||||
@ -173,7 +173,7 @@ Result capsaGetRequiredStorageSpaceSizeToCopyAll(CapsAlbumStorage dst_storage, C
|
||||
return serviceDispatchInOut(&g_capsaSrv, 501, in, *out);
|
||||
}
|
||||
|
||||
Result capsaLoadAlbumScreenShotThumbnailImageEx1(const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void* image, u64 image_size, void* workbuf, u64 workbuf_size, void* out, u64 out_size) {
|
||||
Result capsaLoadAlbumScreenShotThumbnailImageEx1(const CapsAlbumFileId *file_id, const CapsScreenShotDecodeOption *opts, void *image, u64 image_size, void *workbuf, u64 workbuf_size, void *out, u64 out_size) {
|
||||
if (hosversionBefore(4,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
struct {
|
||||
@ -198,7 +198,7 @@ Result capsaRefreshAlbumCache(CapsAlbumStorage storage) {
|
||||
return _capsaCmdInU8NoOut(&g_capsaSrv, storage, 8011);
|
||||
}
|
||||
|
||||
static Result _capsaOpenAccessorSession(Service* srv_out) {
|
||||
static Result _capsaOpenAccessorSession(Service *srv_out) {
|
||||
u64 AppletResourceUserId = 0;
|
||||
appletGetAppletResourceUserId(&AppletResourceUserId);
|
||||
|
||||
@ -213,7 +213,7 @@ static Result _capsaOpenAlbumMovieReadStream(u64 *stream, const CapsAlbumFileId
|
||||
return serviceDispatchInOut(&g_capsaAccessor, 2001, *file_id, *stream);
|
||||
}
|
||||
|
||||
static Result _capsaReadMovieDataFromAlbumMovieReadStream(u64 stream, s64 offset, void* buffer, size_t size, u64 *actual_size) {
|
||||
static Result _capsaReadMovieDataFromAlbumMovieReadStream(u64 stream, s64 offset, void *buffer, size_t size, u64 *actual_size) {
|
||||
const struct {
|
||||
u64 stream;
|
||||
s64 offset;
|
||||
@ -225,7 +225,7 @@ static Result _capsaReadMovieDataFromAlbumMovieReadStream(u64 stream, s64 offset
|
||||
);
|
||||
}
|
||||
|
||||
static Result _capsaReadImageDataFromAlbumMovieReadStream(u64 stream, s64 offset, void* buffer, size_t size, u64 *actual_size) {
|
||||
static Result _capsaReadImageDataFromAlbumMovieReadStream(u64 stream, s64 offset, void *buffer, size_t size, u64 *actual_size) {
|
||||
const struct {
|
||||
u64 stream;
|
||||
s64 offset;
|
||||
@ -270,7 +270,7 @@ Result capsaGetAlbumMovieStreamSize(u64 stream, u64 *size) {
|
||||
return serviceDispatchInOut(&g_capsaAccessor, 2003, stream, *size);
|
||||
}
|
||||
|
||||
Result capsaReadMovieDataFromAlbumMovieReadStream(u64 stream, s64 offset, void* buffer, size_t size, u64 *actual_size) {
|
||||
Result capsaReadMovieDataFromAlbumMovieReadStream(u64 stream, s64 offset, void *buffer, size_t size, u64 *actual_size) {
|
||||
if (hosversionBefore(4,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
@ -300,7 +300,7 @@ Result capsaGetAlbumMovieReadStreamImageDataSize(u64 stream, u64 *size) {
|
||||
return serviceDispatchInOut(&g_capsaAccessor, 2006, stream, *size);
|
||||
}
|
||||
|
||||
Result capsaReadImageDataFromAlbumMovieReadStream(u64 stream, s64 offset, void* buffer, size_t size, u64 *actual_size) {
|
||||
Result capsaReadImageDataFromAlbumMovieReadStream(u64 stream, s64 offset, void *buffer, size_t size, u64 *actual_size) {
|
||||
if (hosversionBefore(4,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
@ -310,7 +310,7 @@ Result capsaReadImageDataFromAlbumMovieReadStream(u64 stream, s64 offset, void*
|
||||
return _capsaReadImageDataFromAlbumMovieReadStream(stream, offset, buffer, size, actual_size);
|
||||
}
|
||||
|
||||
Result capsaReadFileAttributeFromAlbumMovieReadStream(u64 stream, CapsScreenShotAttributeForApplication* attribute) {
|
||||
Result capsaReadFileAttributeFromAlbumMovieReadStream(u64 stream, CapsScreenShotAttributeForApplication *attribute) {
|
||||
if (hosversionBefore(4,0,0))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user