mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-26 03:41:55 +01:00
f41e01ff87
-added new option, "force_cios_rev" (default 0 (=disabled)), if you set it to for example "force_cios_rev=250", then wiiflow will use IOS250 for the AUTO setting, for reload when using "force_cios_load" and when switching to emu nand in IOS58 mode -added more detailed debug prints and on screen information about the currently loaded cIOS -minor cleanup in nand get file and external booter
42 lines
707 B
C
42 lines
707 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;
|
|
u32 SubRevision;
|
|
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);
|
|
|
|
s32 D2X_PatchReturnTo(u32 returnTo);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif
|