mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-27 12:21:57 +01:00
d8ee3c1b68
-recompiled mload modules for hermes cIOS -added sdhc module for hermes cIOS -fixed booting wii games from sd card -improved wii game support via sd card, now you can use hermes, wanin and d2x (not d2x only anymore) -moved some more stuff to boot wii games into the external booter -added gecko debug prints to external booter -automatically disabling savegame emulator if you want to boot a wii game via hermes or waninkoko cIOS
42 lines
720 B
C
42 lines
720 B
C
|
|
#ifndef _CIOSINFO_H_
|
|
#define _CIOSINFO_H_
|
|
|
|
#include <gccore.h>
|
|
#include "types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
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
|
|
} iosinfo_t;
|
|
|
|
typedef struct _IOS_Info {
|
|
u32 Revision;
|
|
u8 Version;
|
|
u8 Type;
|
|
u8 Base;
|
|
} IOS_Info;
|
|
|
|
extern IOS_Info CurrentIOS;
|
|
void IOS_GetCurrentIOSInfo();
|
|
|
|
bool IOS_D2X(u8 ios, u8 *base);
|
|
u8 IOS_GetType(u8 slot);
|
|
|
|
bool Hermes_shadow_mload(int mload_rev);
|
|
void Hermes_Disable_EHC();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif
|