summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfp/nfp_types.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-03-26 22:26:21 +0200
committergerman77 <juangerman-13@hotmail.com>2023-03-26 22:26:36 +0200
commit880264673068c61ef680deffc1a26b4089713282 (patch)
treeca4ed2d85b94abed946a6bda6cbfcb1f781846f4 /src/core/hle/service/nfp/nfp_types.h
parentMerge pull request #9992 from liamwhite/climits (diff)
downloadyuzu-880264673068c61ef680deffc1a26b4089713282.tar
yuzu-880264673068c61ef680deffc1a26b4089713282.tar.gz
yuzu-880264673068c61ef680deffc1a26b4089713282.tar.bz2
yuzu-880264673068c61ef680deffc1a26b4089713282.tar.lz
yuzu-880264673068c61ef680deffc1a26b4089713282.tar.xz
yuzu-880264673068c61ef680deffc1a26b4089713282.tar.zst
yuzu-880264673068c61ef680deffc1a26b4089713282.zip
Diffstat (limited to 'src/core/hle/service/nfp/nfp_types.h')
-rw-r--r--src/core/hle/service/nfp/nfp_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nfp/nfp_types.h b/src/core/hle/service/nfp/nfp_types.h
index b3599a513..70c878552 100644
--- a/src/core/hle/service/nfp/nfp_types.h
+++ b/src/core/hle/service/nfp/nfp_types.h
@@ -309,7 +309,8 @@ struct EncryptedNTAG215File {
u32 CFG1; // Defines number of verification attempts
NTAG215Password password; // Password data
};
-static_assert(sizeof(EncryptedNTAG215File) == 0x21C, "EncryptedNTAG215File is an invalid size");
+static_assert(sizeof(EncryptedNTAG215File) == sizeof(NTAG215File),
+ "EncryptedNTAG215File is an invalid size");
static_assert(std::is_trivially_copyable_v<EncryptedNTAG215File>,
"EncryptedNTAG215File must be trivially copyable.");