mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-26 03:41:55 +01:00
630594d976
-fixed wii u widescreen option in game config menu. should properly work now. thanks pBullet! -added a fix for coverflow titles display when coverflow has 3 or more rows. for some reason 3 or more rows caused the title to display improperly. -removed **disabled** message from source menu. no need for it - was a stupid idea. if you don't want it to display then remove it from your source menu or don't add it. when a view is disabled in wiiflow_lite.ini then only that view icon is disabled from showing on the main menu screen. -removed titles.ini which wasn't really used except for displaying the return to channel in settings. I googled it and nothing really showed up. it seemed to be the same as custom_titles.ini - it seemed useless. -removed cacheing sourceflow list. the list is never big enuff to worry about cacheing. plus if you add or remove source btns you won't have to reload cache for the changes to take effect. -removed max_source_btns from wiiflow_lite.ini - added code to get highest source menu btn so now source menu can have as many buttons as you like. -removed Manage Languages Menu - restored option to just change wiiflow language. no need for downloading languages and the google link didn't work anyway. when i make a pack all the languages will be included. -added flat cover options for sourceflow and homebrew view. can be turned on/off via their config menu's accessed via 'HOME' btn. -added config menu for homebrew view - press 'HOME' btn while in homebrew view to access it. config menu options are - switch apps partition, adjust coverflow, smallbox on/off, and flat covers on/off. -updated config menu for source menu/flow. options include - sourceflow on/off, adjust coverflow, smallbox on/off, flat covers on/off, and for source menu only - multisource on/off. -added coverflow layouts/versions for individual plugins - which means each plugin can have its own coverflow layout without affecting the others. -set HQ cover to default to ON -made it so coverflow doesn't reload every time you access another menu or change favorites or whatever. -added error messages to game and app launching if any of the bin files needed for launching are missing. previously whenever these errors occurred wiiflow would just exit without the user knowing why. Now the error message should display before exit so the user has an idea what went wrong. had to move cleanup() back some for the errors to show. hopefully that doesn't cause out of mem issues for users with large game collections. -added error messages to game config menu. now all config options will show but if you can't use it then a error shows telling you. such as 'use neek2o' will be available but if you set it to on and neek2o isn't installed then an error message shows. added error msgs for extracting and flashing saves too. -added show_mem=yes/no option to wiiflow_lite.ini under [DEBUG]. manually edit wiiflow_lite.ini to turn it on/off. if set to 'yes' wiiflow will show how much free mem is available on screen. no need to compile wiiflow for this option anymore. -cleaned up some of the boot up code. -starting a random game - just hold 'B' and press '-'. no longer press'B' on config or question mark icon and no need to allow it in wiiflow_lite.ini
71 lines
2.4 KiB
C++
71 lines
2.4 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_CFG_PATH "nincfg.bin"
|
|
#define NIN_LOADER_PATH "%s:/apps/nintendont/boot.dol"
|
|
//const char *NINversionDate(NIN_LOADER_PATH);
|
|
|
|
bool Nintendont_Installed();
|
|
bool Nintendont_GetLoader();
|
|
void Nintendont_BootDisc(u8 emuMC, bool widescreen, bool usb_hid, bool native_ctl, bool deflicker);
|
|
void Nintendont_SetOptions(const char *game, const char *gameID, char *CheatPath, char *NewCheatPath, const char *partition,
|
|
bool cheats, u8 emuMC, u8 videomode, bool widescreen, bool usb_hid, bool native_ctl, bool deflicker,
|
|
bool wiiu_widescreen, bool NIN_Debugger, bool tri_arcade);
|
|
void Nintendont_WriteOptions();
|
|
|
|
// 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,
|
|
bool memcard_emum, bool widescreen, bool activity_led, bool wifi);
|
|
void DEVO_Boot();
|
|
|
|
|
|
// General
|
|
void GC_SetVideoMode(u8 videomode, u8 loader);
|
|
void GC_SetLanguage(u8 lang, u8 loader);
|
|
|
|
#endif //_GC_HPP_
|