mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
17fa36e898
-removed vipatch, country patch, private server and cheats defaults from wiiflow.ini. no need for default/global setting for those options. they all default to off internally in wiiflow. -now on file explorer menu pressing home btn returns you to device select so you don't have to keep backing up to get back to devices. -fixed a few minor problems with game configs, especially gc games. now all game config options should work properly. -now using bitwise operators and expressions on m_current_view to control which sources are selected. no more source= under each domain. just sources= under GENERAL. -replaced ocarina option from main settings pg3 with channels type option. no need for a global/default ocarina setting. channels type allows you to select real, emu, or both channels types for channels coverflow. which means no more pressing B on config icon to cycle thru the choices. -fixed a minor bug when downloading covers -changed newid.ini to use only one domain name "[NEWID]". this fixes a possible problem when downloading covers and using newid.ini and multisource. -added install wad option to nand emulation settings menu. I know you can do it via file explorer but this makes it easier for newbies to find. plus you can select which nand to install to. -fixed extract game saves. -fixed extract nand and install GC game by stopping music and controller input while doing these functions. -Install wii game is broke. added a error msg stating this and keeping users from using it. funny the code is almost identical to usbloader gx which works and wiiflow doesn't. -now showing all btns on game selected screen. if wiiflow is locked a error msg appears stating this. -changed makeDir to make the whole path not just one folder. thanks to usbloader gx code. -added .ciso extension to gamecube list maker so you can use them with nintendont.
69 lines
1.1 KiB
C
69 lines
1.1 KiB
C
|
|
#ifndef _TYPES_H_
|
|
#define _TYPES_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
enum {
|
|
DEVOLUTION = 0,
|
|
NINTENDONT
|
|
};
|
|
|
|
enum {
|
|
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
|
|
};
|
|
|
|
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_SOURCE,
|
|
TYPE_EMUCHANNEL,
|
|
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
|
|
|
|
#endif |