2016-04-02 18:00:47 +02:00
|
|
|
|
|
|
|
#ifndef _TYPES_H_
|
|
|
|
#define _TYPES_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-04-02 18:58:12 +02:00
|
|
|
enum {
|
2016-04-03 02:31:02 +02:00
|
|
|
DEVOLUTION = 0,
|
2016-04-02 18:58:12 +02:00
|
|
|
NINTENDONT
|
|
|
|
};
|
|
|
|
|
2016-04-02 18:00:47 +02:00
|
|
|
enum {
|
2016-12-01 01:05:39 +01:00
|
|
|
CHANNELS_REAL = 1,
|
|
|
|
CHANNELS_EMU,
|
|
|
|
CHANNELS_BOTH
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
COVERFLOW_NONE = 0x00,
|
|
|
|
COVERFLOW_WII = 0x01,
|
|
|
|
COVERFLOW_GAMECUBE = 0x02,
|
|
|
|
COVERFLOW_CHANNEL = 0x04,
|
|
|
|
COVERFLOW_PLUGIN = 0x08,
|
|
|
|
COVERFLOW_HOMEBREW = 0x10,
|
|
|
|
COVERFLOW_MAX = 0xFF
|
2016-04-02 18:00:47 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
TYPE_WII_DISC = 0,
|
|
|
|
TYPE_WII_WBFS,
|
2016-04-02 18:58:12 +02:00
|
|
|
TYPE_WII_WBFS_EXT
|
2016-04-02 18:00:47 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
TYPE_WII_GAME = 0,
|
|
|
|
TYPE_GC_GAME,
|
|
|
|
TYPE_CHANNEL,
|
|
|
|
TYPE_PLUGIN,
|
|
|
|
TYPE_HOMEBREW,
|
|
|
|
TYPE_SOURCE,
|
2016-06-20 23:03:40 +02:00
|
|
|
TYPE_EMUCHANNEL,
|
2016-04-02 18:00:47 +02:00
|
|
|
TYPE_END
|
|
|
|
};
|
|
|
|
#define NoGameID(x) (x == TYPE_PLUGIN || x == TYPE_HOMEBREW || x == TYPE_SOURCE)
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
IOS_TYPE_D2X = 0,
|
|
|
|
IOS_TYPE_WANIN,
|
|
|
|
IOS_TYPE_HERMES,
|
|
|
|
IOS_TYPE_KWIIRK,
|
|
|
|
IOS_TYPE_NEEK2O,
|
|
|
|
IOS_TYPE_NORMAL_IOS,
|
|
|
|
IOS_TYPE_STUB,
|
|
|
|
};
|
|
|
|
#define CustomIOS(x) (x != IOS_TYPE_NORMAL_IOS && x != IOS_TYPE_STUB)
|
|
|
|
|
|
|
|
#define ValidColor(x) (x == 0xFFFFFF || x == 0xFF0000 || x == 0x000000 || \
|
|
|
|
x == 0xFCFF00 || x == 0x01A300 || x == 0x00E360)
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2012-06-16 19:03:23 +02:00
|
|
|
#endif
|