2012-07-16 18:11:26 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* Copyright (C) 2012 Dimok
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef DEVO_CONFIG_H_
|
|
|
|
#define DEVO_CONFIG_H_
|
|
|
|
|
|
|
|
#define LAUNCH_DEVO() ((void(*)(void))loader_bin)()
|
|
|
|
|
|
|
|
#define DEVO_SIG 0x3EF9DB23
|
2014-08-18 21:19:20 +02:00
|
|
|
#define DEVO_CONFIG_VERSION 0x0200
|
2012-07-16 18:11:26 +02:00
|
|
|
|
2012-10-14 18:27:01 +02:00
|
|
|
enum DEVOConfig
|
|
|
|
{
|
2013-04-14 23:02:09 +02:00
|
|
|
DEVO_CFG_WIFILOG = (1<<0), // added in Devo r100, config version 0x0110
|
2012-10-14 18:27:01 +02:00
|
|
|
DEVO_CFG_WIDE = (1<<1), // added in Devo r142
|
2013-04-14 23:02:09 +02:00
|
|
|
DEVO_CFG_NOLED = (1<<2),
|
|
|
|
DEVO_CFG_FZERO_AX = (1<<3), // added in Devo r196, config version x0111
|
* Improved GameCube controller functions (patch by Dynamit)
R+Z=Screenshot, X=Gameinfo window, Y=Covers download
* Added Classic Controller and GameCube Controller support
in GameInfo window:
Right stick=3D Cover movement, X=Flip 3DCover 180°, L/R=Zoom
* Added Wifi6 and wifi10 pictures for GameInfo window.
(Thanks OriginalHamster)
* Added device priority selection for GameCube listing
in global Loader settings (SD->USB, or USB->SD)
* Added a "Use global" language setting for Gamecube games.
* Added support for USB devices with modified MBR's signature
to prevent WiiU's format message.
* Prevent Rockband cursor display on GameCube and WiiWare
games with "band" in the title (Crach bandicoot, Beach
Bandits, etc.)
* Added Dol's Video mode patcher in Loader/Game settings,
for games which couldn't be forced. (MadWorld, MotoGP08,
Mario Party 8, etc.)
♦ Region patch = Patches the dol's known video modes
to the region selected in "Video mode" setting,
but keep interlace/progressive references.
♦ ON = Patch all dol's known video modes to the one
selected in "Video mode" setting.
♦ ALL = Patch all dol's found video mode patterns
(even unknown video modes) to the one selected
in "Video mode" setting.
* DML: Updated DM(L) version detection up to v2.10
* DML: Automatically enable PADHook if Screenshot setting
is enabled
* DML: Fixed a bug where multiple video modes could be set
at the same time
* DEVO: Added a prompt if trying to launch a game from a
non FAT32 partition.
* DEVO: Added Direct Mapping Buttons setting (Devo r200+)
* DEVO: Added support for Language setting
* Language files updated: Chinese, French
2013-08-18 16:30:39 +02:00
|
|
|
DEVO_CFG_TIMER_FIX = (1<<4),
|
2014-08-18 21:19:20 +02:00
|
|
|
DEVO_CFG_D_BUTTONS = (1<<5), // added in Devo r200, config version 0x0112
|
|
|
|
DEVO_CFG_CROP_OVERSCAN = (1<<6), // added in Devo r234, config version 0x0200
|
|
|
|
DEVO_CFG_DISC_DELAY = (1<<7),
|
|
|
|
DEVO_CFG_PLAYLOG = (1<<8),
|
2012-10-14 18:27:01 +02:00
|
|
|
};
|
|
|
|
|
2012-07-16 18:11:26 +02:00
|
|
|
typedef struct _DEVO_CFG
|
|
|
|
{
|
2012-10-14 18:27:01 +02:00
|
|
|
u32 signature; //0x3EF9DB23
|
2014-08-18 21:19:20 +02:00
|
|
|
u16 version; //0x00000200
|
2012-10-14 18:27:01 +02:00
|
|
|
u16 device_signature;
|
|
|
|
u32 memcard_cluster;
|
|
|
|
u32 disc1_cluster;
|
|
|
|
u32 disc2_cluster;
|
2012-07-20 19:26:39 +02:00
|
|
|
u32 options; // added in Devo config version 0x0110
|
2015-03-08 17:49:07 +01:00
|
|
|
} DEVO_CFG;
|
2012-07-16 18:11:26 +02:00
|
|
|
|
|
|
|
#endif
|