1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-02 08:42:15 +00:00

Fix incorrect setup for NandUser's content storage entry

This commit is contained in:
Adubbz 2019-07-26 22:15:18 +10:00
parent 1cba2985f9
commit 1b99cd6b4d

View file

@ -202,8 +202,8 @@ namespace sts::ncm::impl {
R_TRY(ActivateContentMetaDatabase(StorageId::NandSystem)); R_TRY(ActivateContentMetaDatabase(StorageId::NandSystem));
/* Now for NandUser's content storage entry. */ /* Now for NandUser's content storage entry. */
cur_meta_index = g_num_content_meta_entries; cur_storage_index = g_num_content_storage_entries;
g_num_content_meta_entries++; g_num_content_storage_entries++;
storage_entry = &g_content_storage_entries[cur_storage_index]; storage_entry = &g_content_storage_entries[cur_storage_index];
storage_entry->Initialize(StorageId::NandUser, FS_CONTENTSTORAGEID_NandUser); storage_entry->Initialize(StorageId::NandUser, FS_CONTENTSTORAGEID_NandUser);