PayloadLoaderInstaller/source/common/common.h

52 lines
1019 B
C
Raw Normal View History

2020-10-14 13:54:25 +02:00
#pragma once
#include <coreinit/mcp.h>
2022-07-24 17:07:42 +02:00
#include <cstdint>
2020-10-14 13:54:25 +02:00
#ifdef __cplusplus
extern "C" {
#endif
2022-07-24 17:07:42 +02:00
#define VERSION "v0.1"
2020-10-14 13:54:25 +02:00
enum SYSTEM_XML_DEFAULT_TITLE_ID {
WII_U_MENU_EUR,
WII_U_MENU_USA,
WII_U_MENU_JAP,
HEALTH_SAFETY_EUR,
HEALTH_SAFETY_USA,
HEALTH_SAFETY_JPN,
MAX_SYSTEM_XML_DEFAULT_TITLE_ID
};
typedef struct systemXMLInformation {
SYSTEM_XML_DEFAULT_TITLE_ID type;
uint64_t titleId;
char hash[41];
char hash2[41];
} systemXMLInformation;
typedef struct compatApps {
uint64_t titleId;
const char *appName;
bool onTheWiiU;
char path[255];
char fstHash[41];
char cosHash[41];
char tmdHash[41];
char tmdWithCertHash[41];
2020-10-14 13:54:25 +02:00
} appInformation;
typedef struct _gList_t {
uint64_t tid;
char name[64];
MCPRegion region;
} gList_t;
extern systemXMLInformation systemXMLHashInformation[];
extern appInformation supportedApps[];
extern _gList_t GameList[];
#ifdef __cplusplus
}
#endif