mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-26 03:41:55 +01:00
0129ca9053
out of memory anymore, but therefore some coverflow views will may take longer to load covers -made that cover case color check easier and faster
55 lines
810 B
C
55 lines
810 B
C
|
|
#ifndef _TYPES_H_
|
|
#define _TYPES_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
enum {
|
|
COVERFLOW_USB = 0,
|
|
COVERFLOW_DML,
|
|
COVERFLOW_CHANNEL,
|
|
COVERFLOW_PLUGIN,
|
|
COVERFLOW_HOMEBREW,
|
|
COVERFLOW_MAX
|
|
};
|
|
|
|
enum
|
|
{
|
|
TYPE_WII_DISC = 0,
|
|
TYPE_WII_WBFS,
|
|
TYPE_WII_WBFS_EXT,
|
|
};
|
|
|
|
enum
|
|
{
|
|
TYPE_WII_GAME = 0,
|
|
TYPE_GC_GAME,
|
|
TYPE_CHANNEL,
|
|
TYPE_PLUGIN,
|
|
TYPE_HOMEBREW,
|
|
TYPE_END
|
|
};
|
|
#define NoGameID(x) (x == TYPE_PLUGIN || x == TYPE_HOMEBREW)
|
|
|
|
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
|
|
|
|
#endif |