SysCheck-ModMii-Edition/include/tmdIdentification.h
Joostinonline f5a0e4381d -Added detection for DM/DML 2.11
-Hopefully fixed BC_NAND and BC_WFS showing up as patched (still need to test)
-Moved a few functions and variables around
-Other tiny changes that don't really matter unless you are picky like me
2014-07-06 18:53:35 +00:00

25 lines
497 B
C

#ifndef __TMDIDENT_H__
#define __TMDIDENT_H__
#include <gctypes.h>
#define base_number 122
typedef struct {
u32 hashes[5];
u32 base;
char info[0x10];
} iosHashes;
typedef struct _iosinfo_t {
u32 magicword; //0x1ee7c105
u32 magicversion; // 1
u32 version; // Example: 5
u32 baseios; // Example: 56
char name[0x10]; // Example: d2x
char versionstring[0x10]; // Example: beta2
} __attribute__((packed)) iosinfo_t;
extern iosHashes iosHash[base_number];
#endif