mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-25 03:11:58 +01:00
28b8f218b2
- added nintendont video width scale and video offset position options per game. you can set global defualts in wiiflow_lite.ini under [GAMECUBE] as nin_width and nin_pos. width can be 0(auto) or 40 to 120 and position can be -20 to 20 (0 is center normal). - added patch pal50 option per game for Nintendont. - removed devolution mount and unmount to speed up loading of devo gc games. not sure why they were there. - properly fixed nintendont video setting. last commit worked but on my tv with component cables and wii in progressive mode it would always switch to interlace then back to progressive when nintendont started and then back to interlaced when the actual game started. now it just switches to interlaced when the actual game starts unless im forcing progressive. - fixed nintendont gc disc launching and wii disc launching to use gameconfig2 settings. seems when launching a disc gameconfig2 wasn't loaded and thus no game settings were used. you should be able to use cheats with disc launch now. - added option to set game settings for a disc launch prior to the actual disc launch. just hold 'B' and press 'A' when selecting the disc icon to access settings menu before launch. just press 'A' to launch disc immediately. - removed 98% of the gap between unloading a banner and displaying the new banner in game selected menu. old way would momentarily show the game covers and play the background music. now there's only a very small chance you will even see the covers or hear the background music.
61 lines
2.0 KiB
C++
61 lines
2.0 KiB
C++
/****************************************************************************
|
|
* 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 _GC_HPP_
|
|
#define _GC_HPP_
|
|
|
|
#include <gccore.h>
|
|
|
|
// Nintendont
|
|
#include "nin_cfg.h"
|
|
#define NIN_LOADER_PATH "%s:/apps/nintendont/boot.dol"
|
|
|
|
bool Nintendont_Installed();
|
|
bool Nintendont_GetLoader();
|
|
void Nintendont_SetOptions(const char *gamePath, const char *gameID, const char *CheatPath, u8 lang, u32 n_cfg,
|
|
u32 n_vm, s8 vidscale, s8 vidoffset);
|
|
|
|
// Devolution
|
|
#define DEVO_LOADER_PATH "%s/loader.bin"
|
|
|
|
typedef struct global_config
|
|
{
|
|
u32 signature;
|
|
u16 version;
|
|
u16 device_signature;
|
|
u32 memcard_cluster;
|
|
u32 disc1_cluster;
|
|
u32 disc2_cluster;
|
|
u32 options;
|
|
} gconfig;
|
|
|
|
// constant value for identification purposes
|
|
#define DEVO_CONFIG_SIG 0x3EF9DB23
|
|
// version may change when future options are added
|
|
#define DEVO_CONFIG_VERSION 0x0110
|
|
// option flags
|
|
#define DEVO_CONFIG_WIFILOG (1<<0)
|
|
#define DEVO_CONFIG_WIDE (1<<1)
|
|
#define DEVO_CONFIG_NOLED (1<<2)
|
|
|
|
bool DEVO_Installed(const char *path);
|
|
void DEVO_GetLoader(const char *path);
|
|
void DEVO_SetOptions(const char *isopath, const char *gameID, u8 videomode, u8 lang,
|
|
bool memcard_emum, bool widescreen, bool activity_led, bool wifi);
|
|
void DEVO_Boot();
|
|
|
|
#endif //_GC_HPP_
|