MBMNET-App v2.8.2: Quellcode (GPLv3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nico Meister
2026-10-18 17:05:44 +02:00
co-authored by Claude Opus 5.5
commit d264cd93cd
42 changed files with 7054 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include <3ds/types.h>
#include <stddef.h>
#include <stdio.h>
Result nnid_init(void);
void nnid_exit(void);
// true, wenn auf dem aktuellen Konto eine NNID verknüpft ist (Name in name)
bool nnid_linked(char *name, size_t len);
// PID der verknüpften NNID (0 = keine)
u32 nnid_pid(void);
// IDs, die in ANDEREN Konto-Plätzen verknüpft sind (z. B. Pretendo). Anzahl, Namen in names.
int nnid_others(char *names, size_t len);
// Löst diese IDs lokal (Namen werden in /3ds/mbmnet/alte-nnid.txt gesichert)
bool nnid_unlink_others(char *msg, size_t msglen);
// Löst die verknüpfte NNID lokal (Name/PID werden in /3ds/mbmnet/alte-nnid.txt gesichert)
bool nnid_unlink(char *msg, size_t msglen);
// Gibt es die ID "name" in einem Konto-Platz außer exceptSlot?
bool nnid_name_elsewhere(const char *name, u8 exceptSlot);
// Löst die ID "name" in allen Konto-Plätzen außer exceptSlot (nur auf dem 3DS)
bool nnid_unlink_named(const char *name, u8 exceptSlot, char *msg, size_t msglen);
// Schreibt alle Konto-Plätze in die Diagnose
void nnid_dump(FILE *f);