From f9b2ceedf5de8b884acbf400b0bd6a53580c3fd2 Mon Sep 17 00:00:00 2001 From: JBMagination Date: Sat, 5 Nov 2022 17:14:39 -0400 Subject: [PATCH] Increase i maximum from 12 to 13 --- source/app/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/app/users.cpp b/source/app/users.cpp index cdcb185..81d0eb8 100644 --- a/source/app/users.cpp +++ b/source/app/users.cpp @@ -10,7 +10,7 @@ bool loadUsers() { nn::act::SlotNo currentAccount = nn::act::GetSlotNo(); nn::act::SlotNo defaultAccount = nn::act::GetDefaultAccount(); - for (nn::act::SlotNo i=1; i<12; i++) { + for (nn::act::SlotNo i=1; i<13; i++) { if (nn::act::IsSlotOccupied(i) == true) { userAccount newAccount; @@ -47,4 +47,4 @@ userAccount* getUserByPersistentId(nn::act::PersistentId id) { if (user.persistentId == id) return &user; } return nullptr; -} \ No newline at end of file +}