v3.1.5: ACT_Save nach SetDefaultAccount (Soft-Reboot verlor die Einstellung), Admin-Prüfung stellt act auf den MBMNET-Platz und zeigt beide IDs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nico Meister
2026-10-26 21:26:23 +01:00
co-authored by Claude Opus 5.5
parent 6375cd5b00
commit 39ed683c95
5 changed files with 30 additions and 11 deletions
+5 -1
View File
@@ -139,7 +139,11 @@ static Result use_act_slot(u8 friendAccount, u32 *slotOut, bool *created)
}
if (logf) fprintf(logf, " -> Konto-Platz %lu\n", (unsigned long)slot);
*slotOut = slot;
return step("Standard-Konto setzen", ACTA_SetDefaultAccount(slot));
rc = step("Standard-Konto setzen", ACTA_SetDefaultAccount(slot));
// Ausdrücklich speichern: Beim Soft-Reboot (seit v2.9.8) ging die Einstellung sonst verloren, dann stand
// act nach dem Neustart noch auf dem alten Platz (z. B. Pretendo) und meldete sich damit bei MBMNET an.
if (R_SUCCEEDED(rc)) note("Konto-Einstellungen speichern", ACT_Save());
return rc;
}
bool frdswitch_to(u8 target, bool *created, char *msg, size_t msglen)