RPXLoadingModule/src/globals.h

34 lines
882 B
C
Raw Normal View History

2021-01-01 01:39:28 +01:00
#include <wums.h>
#include <coreinit/mutex.h>
2021-02-19 20:32:44 +01:00
typedef struct MetaInformation_t {
char shortname[64];
char longname[64];
char author[64];
2021-02-19 20:32:44 +01:00
} MetaInformation;
2021-02-19 20:32:44 +01:00
typedef struct BundleMountInformation_t {
bool redirectionRequested;
bool isMounted;
char path[255];
char workingDir[255];
} BundleMountInformation;
2021-02-19 20:32:44 +01:00
typedef enum RPXLoader_Type {
RPXLoader_NONE,
RPXLoader_RPX,
RPXLoader_BUNDLE,
RPXLoader_BUNDLE_OTHER_RPX,
} RPXLoader_Type;
typedef struct RPXLoader_ReplacementInformation_t {
bool isRPXReplaced;
MetaInformation metaInformation;
RPXLoader_Type replacementType;
BundleMountInformation bundleMountInformation;
char iconCache[65580];
uint32_t currentHash;
char savePath[255];
} RPXLoader_ReplacementInformation;
extern RPXLoader_ReplacementInformation gReplacementInfo;