2012-09-28 19:24:04 +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/>.
|
|
|
|
****************************************************************************/
|
2012-10-14 19:18:13 +02:00
|
|
|
#ifndef _CFG_HPP_
|
|
|
|
#define _CFG_HPP_
|
2012-09-28 19:24:04 +02:00
|
|
|
|
|
|
|
#include "cios.h"
|
|
|
|
#include "frag.h"
|
2012-10-20 00:01:30 +02:00
|
|
|
#include "wip.h"
|
2012-09-28 19:24:04 +02:00
|
|
|
|
2013-01-05 18:12:13 +01:00
|
|
|
struct the_CFG {
|
2012-09-28 19:24:04 +02:00
|
|
|
/* needed for wii games */
|
|
|
|
char gameID[7];
|
|
|
|
FragList *fragments;
|
|
|
|
s32 wbfsDevice;
|
|
|
|
u32 wbfsPart;
|
|
|
|
u8 GameBootType;
|
2012-10-20 00:01:30 +02:00
|
|
|
WIP_Code *wip_list;
|
|
|
|
u32 wip_count;
|
2012-09-28 19:24:04 +02:00
|
|
|
/* needed for channels */
|
|
|
|
u64 title;
|
2013-01-05 18:12:13 +01:00
|
|
|
bool use_dol;
|
2012-09-28 19:24:04 +02:00
|
|
|
/* General Stuff */
|
|
|
|
IOS_Info IOS;
|
|
|
|
u8 BootType;
|
|
|
|
u8 vidMode;
|
|
|
|
u8 patchVidMode;
|
|
|
|
u8 configbytes[2];
|
|
|
|
u8 debugger;
|
2012-10-20 00:01:30 +02:00
|
|
|
u8 vipatch;
|
|
|
|
u8 countryString;
|
2012-09-28 19:24:04 +02:00
|
|
|
int aspectRatio;
|
|
|
|
void *codelist;
|
|
|
|
u8 *codelistend;
|
|
|
|
u8 *cheats;
|
|
|
|
u32 cheatSize;
|
|
|
|
u32 hooktype;
|
|
|
|
u32 *gameconf;
|
|
|
|
u32 gameconfsize;
|
|
|
|
u32 returnTo;
|
2013-01-05 18:12:13 +01:00
|
|
|
} ATTRIBUTE_PACKED;
|
2012-09-28 19:24:04 +02:00
|
|
|
|
|
|
|
#endif /* _CFG_HPP_ */
|