From 706979c2759ad737b22de731c4fcda8a60158630 Mon Sep 17 00:00:00 2001 From: jakcron Date: Tue, 31 Jul 2018 13:06:28 +0800 Subject: [PATCH] [nx] Fix typo. --- lib/libnx/source/ApplicationControlPropertyBinary.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libnx/source/ApplicationControlPropertyBinary.cpp b/lib/libnx/source/ApplicationControlPropertyBinary.cpp index 25dfa64..463a8c4 100644 --- a/lib/libnx/source/ApplicationControlPropertyBinary.cpp +++ b/lib/libnx/source/ApplicationControlPropertyBinary.cpp @@ -157,7 +157,7 @@ void nx::ApplicationControlPropertyBinary::toBytes() { data->play_log_queryable_application_id[i] = mPlayLogQueryableApplicationId[i]; } - data->cache_storage_index = mCacheStorageIndexMax; + data->cache_storage_index_max = mCacheStorageIndexMax; data->program_index = mProgramIndex; // sizes @@ -245,7 +245,7 @@ void nx::ApplicationControlPropertyBinary::fromBytes(const byte_t* bytes, size_t if (data->play_log_queryable_application_id[i].get() != 0) mPlayLogQueryableApplicationId.addElement(data->play_log_queryable_application_id[i].get()); } - mCacheStorageIndexMax = data->cache_storage_index.get(); + mCacheStorageIndexMax = data->cache_storage_index_max.get(); mProgramIndex = data->program_index; // sizes