mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 19:59:16 +01:00
53a06c0f8d
- fixed setting scummvm cover's color via plugin - now scummvm list is cached like all the other lists. but still does not use custom titles or titles from the plugins data xml. - fixed the random bug where covers sometimes were not cached. - fixed minor memory leaks via gametdb.cpp - fixed an issue with using custom backgrounds via source menu. - added the ability to move to next and previous game while on game info menu by using the controllers '+' and '-' buttons - added the ability to launch a game directly from the game info menu by pressing 'A' on the controller. - added the abilty to launch super smash bros melee via nintendont slippi. manually edit wiiflow_lite.ini by adding use_slippi=yes under [GAMECUBE]. google nintendont slippi and slippi project to learn about it. - upped to version 5.4.1
62 lines
2.1 KiB
C++
62 lines
2.1 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"
|
|
#define NIN_SLIPPI_PATH "%s:/apps/nintendont slippi/boot.dol"
|
|
|
|
bool Nintendont_Installed();
|
|
bool Nintendont_GetLoader(bool use_slippi);
|
|
void Nintendont_SetOptions(const char *gamePath, const char *gameID, const char *CheatPath, u8 lang, u32 n_cfg,
|
|
u32 n_vm, s8 vidscale, s8 vidoffset, u8 netprofile);
|
|
|
|
// 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_
|