mirror of
https://github.com/modmii/SysCheck-ModMii-Edition.git
synced 2024-11-16 21:29:23 +01:00
12a1cfb776
-Corrected hash values 0 through F from not being preceded with a 0. -Other minor changes
25 lines
497 B
C
25 lines
497 B
C
#ifndef __TMDIDENT_H__
|
|
#define __TMDIDENT_H__
|
|
|
|
#include <gctypes.h>
|
|
|
|
#define base_number 125
|
|
|
|
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 |