2012-06-16 19:03:23 +02:00
|
|
|
|
|
|
|
#ifndef _TYPES_H_
|
|
|
|
#define _TYPES_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-10-03 23:34:37 +02:00
|
|
|
enum {
|
|
|
|
COVERFLOW_USB = 0,
|
|
|
|
COVERFLOW_DML,
|
|
|
|
COVERFLOW_CHANNEL,
|
|
|
|
COVERFLOW_PLUGIN,
|
|
|
|
COVERFLOW_HOMEBREW,
|
|
|
|
COVERFLOW_MAX
|
|
|
|
};
|
|
|
|
|
2012-09-28 19:24:04 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
TYPE_WII_DISC = 0,
|
|
|
|
TYPE_WII_WBFS,
|
|
|
|
TYPE_WII_WBFS_EXT,
|
|
|
|
};
|
2012-08-24 00:29:15 +02:00
|
|
|
|
2012-06-16 19:03:23 +02:00
|
|
|
enum
|
|
|
|
{
|
2012-12-27 21:22:40 +01:00
|
|
|
TYPE_WII_GAME = 0,
|
|
|
|
TYPE_GC_GAME,
|
|
|
|
TYPE_CHANNEL,
|
|
|
|
TYPE_PLUGIN,
|
|
|
|
TYPE_HOMEBREW,
|
|
|
|
TYPE_END
|
2012-06-16 19:03:23 +02:00
|
|
|
};
|
2012-08-24 00:29:15 +02:00
|
|
|
#define NoGameID(x) (x == TYPE_PLUGIN || x == TYPE_HOMEBREW)
|
|
|
|
|
2012-07-16 16:05:57 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
IOS_TYPE_D2X = 0,
|
|
|
|
IOS_TYPE_WANIN,
|
|
|
|
IOS_TYPE_HERMES,
|
|
|
|
IOS_TYPE_KWIIRK,
|
2012-08-24 15:50:17 +02:00
|
|
|
IOS_TYPE_NEEK2O,
|
2012-08-24 00:29:15 +02:00
|
|
|
IOS_TYPE_NORMAL_IOS,
|
|
|
|
IOS_TYPE_STUB,
|
2012-07-16 16:05:57 +02:00
|
|
|
};
|
2012-08-24 00:29:15 +02:00
|
|
|
#define CustomIOS(x) (x != IOS_TYPE_NORMAL_IOS && x != IOS_TYPE_STUB)
|
2012-06-16 19:03:23 +02:00
|
|
|
|
2013-01-13 16:45:05 +01:00
|
|
|
#define ValidColor(x) (x == 0xFFFFFF || x == 0xFF0000 || x == 0x000000 || \
|
|
|
|
x == 0xFCFF00 || x == 0x01A300 || x == 0x00E360)
|
|
|
|
|
2012-06-16 19:03:23 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|