mirror of
https://github.com/modmii/SysCheck-ModMii-Edition.git
synced 2024-11-04 15:55:05 +01:00
f5a0e4381d
-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
25 lines
497 B
C
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 |