From 7d08c7cc7cbb9c6f782f79e9b018553ee9a35751 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Sat, 31 Aug 2019 11:53:15 -0400 Subject: [PATCH] Updated CapsAlbumFileDateTime. Updated docs. --- nx/include/switch/services/caps.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nx/include/switch/services/caps.h b/nx/include/switch/services/caps.h index 97365793..88bbf989 100644 --- a/nx/include/switch/services/caps.h +++ b/nx/include/switch/services/caps.h @@ -25,6 +25,7 @@ typedef enum { AlbumReportOption_Unknown3 = 3, ///< Unknown. } AlbumReportOption; +/// ScreenShotAttribute typedef struct { u32 unk_x0; ///< Always set to 0 by official sw. u32 orientation; ///< \ref AlbumImageOrientation @@ -33,7 +34,7 @@ typedef struct { u8 unk_x10[0x30]; ///< Always set to 0 by official sw. } CapsScreenShotAttribute; -/// AlbumFileDateTime. This corresponds to each field in the Album entry filename, prior to the "-". +/// AlbumFileDateTime. This corresponds to each field in the Album entry filename, prior to the "-": "YYYYMMDDHHMMSSII". typedef struct { u16 year; ///< Year. u8 month; ///< Month. @@ -41,7 +42,7 @@ typedef struct { u8 hour; ///< Hour. u8 minute; ///< Minute. u8 second; ///< Second. - u8 unk_x7; ///< Unknown. + u8 id; ///< Unique ID for when there's multiple Album files with the same timestamp. } CapsAlbumFileDateTime; /// AlbumEntryId