From 8c7a4142771daae874743e2ace63f89b9a00e4d8 Mon Sep 17 00:00:00 2001 From: HookedBehemoth Date: Mon, 13 Jan 2020 22:05:00 +0100 Subject: [PATCH] note correct buffer size for ScreenShotImage loading --- nx/include/switch/services/capsa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx/include/switch/services/capsa.h b/nx/include/switch/services/capsa.h index 0e2803b3..ce615e94 100644 --- a/nx/include/switch/services/capsa.h +++ b/nx/include/switch/services/capsa.h @@ -153,7 +153,7 @@ Result capsaLoadAlbumScreenShotThumbnailImageEx(u64 *width, u64 *height, const C * @param[in] file_id \ref CapsAlbumFileId * @param[in] opts \ref CapsScreenShotDecodeOption * @param[out] image RGBA8 image output buffer. - * @param[in] image_size Image buffer size, should be at least large enough for RGBA8 320x180. + * @param[in] image_size Image buffer size, should be at least large enough for RGBA8 1280x720. * @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. */ @@ -218,7 +218,7 @@ Result capsLoadAlbumScreenShotThumbnailImageEx0(u64 *width, u64 *height, CapsScr * @param[in] opts \ref CapsScreenShotDecodeOption * @param[out] out \ref CapsLoadAlbumScreenShotImageOutput * @param[out] image RGBA8 image output buffer. - * @param[in] image_size Image buffer size, should be at least large enough for RGBA8 320x180. + * @param[in] image_size Image buffer size, should be at least large enough for RGBA8 1280x720. * @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. */