2016-04-02 17:46:06 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* Copyright (C) 2012 FIX94
|
|
|
|
*
|
|
|
|
* 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 _CFG_HPP_
|
|
|
|
#define _CFG_HPP_
|
|
|
|
|
|
|
|
#include "cios.h"
|
|
|
|
#include "frag.h"
|
|
|
|
#include "wip.h"
|
|
|
|
|
|
|
|
struct the_CFG {
|
|
|
|
/* needed for wii games */
|
|
|
|
char gameID[7];
|
|
|
|
FragList *fragments;
|
|
|
|
s32 wbfsDevice;
|
|
|
|
u32 wbfsPart;
|
|
|
|
u8 GameBootType;
|
|
|
|
WIP_Code *wip_list;
|
|
|
|
u32 wip_count;
|
2020-11-29 01:20:39 +01:00
|
|
|
u32 *gameconf;
|
|
|
|
u32 gameconfsize;
|
|
|
|
void *codelist;
|
|
|
|
u8 *codelistend;
|
2016-04-02 17:46:06 +02:00
|
|
|
bool patchregion;
|
|
|
|
/* needed for channels */
|
|
|
|
u64 title;
|
|
|
|
bool use_dol;
|
2020-11-29 01:20:39 +01:00
|
|
|
/* needed for both channels and wii games */
|
2016-04-02 17:46:06 +02:00
|
|
|
IOS_Info IOS;
|
|
|
|
u8 BootType;
|
2020-11-29 01:20:39 +01:00
|
|
|
u8 configbytes[2];// [0] used for language. [1] not used
|
|
|
|
u8 countryString;
|
2016-04-02 17:46:06 +02:00
|
|
|
u8 vidMode;
|
|
|
|
u8 patchVidMode;
|
|
|
|
u8 vipatch;
|
2020-11-29 01:20:39 +01:00
|
|
|
s8 aspectRatio;
|
|
|
|
bool patchFix480p;
|
2021-09-25 21:00:02 +02:00
|
|
|
u8 deflicker;
|
2020-11-29 01:20:39 +01:00
|
|
|
u8 private_server;
|
2021-09-27 13:46:51 +02:00
|
|
|
char server_addr[24];
|
2016-04-02 17:46:06 +02:00
|
|
|
u8 *cheats;
|
|
|
|
u32 cheatSize;
|
2020-11-29 01:20:39 +01:00
|
|
|
u8 debugger;
|
2016-04-02 17:46:06 +02:00
|
|
|
u32 hooktype;
|
|
|
|
u32 returnTo;
|
2020-11-29 01:20:39 +01:00
|
|
|
bool use_led;
|
2016-04-02 17:46:06 +02:00
|
|
|
} ATTRIBUTE_PACKED;
|
|
|
|
|
|
|
|
#endif /* _CFG_HPP_ */
|