From 34c15d92cc109af50b18614cc9076d155db3ee5e Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Tue, 9 Mar 2021 21:15:40 -0400 Subject: [PATCH] Update title.h I was sleepy. --- source/title.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/title.h b/source/title.h index 1a1b5d1..f3a8b0c 100644 --- a/source/title.h +++ b/source/title.h @@ -139,9 +139,7 @@ NX_INLINE void titleConvertNcmContentSizeToU64(const u8 *size, u64 *out) NX_INLINE void titleConvertU64ToNcmContentSize(const u64 *size, u8 *out) { - if (!size || !out) return; - memcpy(out, size, 6); - out[6] = out[7] = 0; + if (size && out) memcpy(out, size, 6); } NX_INLINE u64 titleGetPatchIdByApplicationId(u64 app_id)