unlaunch-installer_dev/arm9/src/nocashFooter.h
Edoardo Lolletti 351d4547b3 Handle nocash footer embedding into nand
Another step the unlaunch installer does but wasn't being handled yet
2024-04-27 23:34:13 +02:00

23 lines
417 B
C

#ifndef NOCASH_FOOTER_H
#define NOCASH_FOOTER_H
#include <nds/ndstypes.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct NocashFooter {
char footerID[16]; //DSi eMMC CID/CPU
u8 CID[16];
u8 consoleId[8];
u8 pad[0x18];
} NocashFooter;
bool isFooterValid(const NocashFooter* footer);
void constructNocashFooter(NocashFooter* footer, const u8* CID, const u8* consoleID);
#ifdef __cplusplus
}
#endif
#endif