mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-01-26 02:31:18 +01:00
- set wiiflow to default to using cIOS. if you want to use IOS58 go to startup settings and set force load cios to 'no'.
- #92 doubled the length of char wfcTitle[] to 128 for long plugin rom titles. fixes possible rom covers not showing do to their title being longer than 64. - #93 added .gcm as a extension for gamecube ISO's. - fixed hiding homebrew icon via homebrew settings option.
This commit is contained in:
parent
d991834789
commit
7bf04b023d
@ -43,6 +43,10 @@ NandSave::NandSave()
|
|||||||
loaded = false;
|
loaded = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* checks for wiiflow save WFSF by searching for the banner.bin. if found then wiiflow save found. */
|
||||||
|
/* if not found then we use save.bin to create banner.bin, tik.bin, and tmd.bin which are compressed into save.bin. */
|
||||||
|
/* the IOS and port settings are only created if they are changed in startup settings menu. */
|
||||||
|
/* also the ticket and its folder are deleted after the tmd is created. */
|
||||||
bool NandSave::CheckSave()
|
bool NandSave::CheckSave()
|
||||||
{
|
{
|
||||||
/* 10 million variables */
|
/* 10 million variables */
|
||||||
|
@ -2842,8 +2842,8 @@ CCoverFlow::CLRet CCoverFlow::_loadCoverTex(u32 i, bool box, bool hq, bool blank
|
|||||||
/* try to find the wfc texture file in the cache folder */
|
/* try to find the wfc texture file in the cache folder */
|
||||||
if(!m_cachePath.empty())
|
if(!m_cachePath.empty())
|
||||||
{
|
{
|
||||||
char wfcTitle[64];
|
char wfcTitle[128];
|
||||||
wfcTitle[63] = '\0';
|
wfcTitle[127] = '\0';
|
||||||
const char *wfcCoverDir = NULL;
|
const char *wfcCoverDir = NULL;
|
||||||
char *full_path = (char*)MEM2_alloc(MAX_FAT_PATH+1);
|
char *full_path = (char*)MEM2_alloc(MAX_FAT_PATH+1);
|
||||||
if(full_path == NULL)
|
if(full_path == NULL)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "memory/memory.h"
|
#include "memory/memory.h"
|
||||||
|
|
||||||
bool isWiiVC = false;
|
bool isWiiVC = false;
|
||||||
bool useMainIOS = false;
|
bool useMainIOS = true;
|
||||||
volatile bool NANDemuView = false;
|
volatile bool NANDemuView = false;
|
||||||
volatile bool networkInit = false;
|
volatile bool networkInit = false;
|
||||||
|
|
||||||
@ -167,9 +167,9 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
/* Handle (c)IOS Loading */
|
/* Handle (c)IOS Loading */
|
||||||
if(useMainIOS && CustomIOS(IOS_GetType(mainIOS))) /* Requested */
|
if(useMainIOS && CustomIOS(IOS_GetType(mainIOS))) /* Requested */
|
||||||
iosOK = loadIOS(mainIOS, false) && CustomIOS(CurrentIOS.Type);
|
iosOK = loadIOS(mainIOS, false) && CustomIOS(CurrentIOS.Type);// reload to cIOS (249 by default)
|
||||||
else
|
else
|
||||||
gprintf("Using IOS58\n");
|
gprintf("Using IOS58\n");// stay on IOS58. no reload to cIOS
|
||||||
}
|
}
|
||||||
|
|
||||||
/* sys inits */
|
/* sys inits */
|
||||||
|
@ -2328,7 +2328,7 @@ bool CMenu::_loadGamecubeList()
|
|||||||
bool updateCache = m_cfg.getBool(GC_DOMAIN, "update_cache");
|
bool updateCache = m_cfg.getBool(GC_DOMAIN, "update_cache");
|
||||||
if(updateCache || !fsop_FileExist(cacheDir.c_str()))
|
if(updateCache || !fsop_FileExist(cacheDir.c_str()))
|
||||||
cacheCovers = true;
|
cacheCovers = true;
|
||||||
m_cacheList.CreateList(COVERFLOW_GAMECUBE, currentPartition, gameDir, stringToVector(".iso|.ciso|root", '|'), cacheDir, updateCache);
|
m_cacheList.CreateList(COVERFLOW_GAMECUBE, currentPartition, gameDir, stringToVector(".iso|.gcm|.ciso|root", '|'), cacheDir, updateCache);
|
||||||
m_cfg.remove(GC_DOMAIN, "update_cache");
|
m_cfg.remove(GC_DOMAIN, "update_cache");
|
||||||
for(vector<dir_discHdr>::iterator tmp_itr = m_cacheList.begin(); tmp_itr != m_cacheList.end(); tmp_itr++)
|
for(vector<dir_discHdr>::iterator tmp_itr = m_cacheList.begin(); tmp_itr != m_cacheList.end(); tmp_itr++)
|
||||||
m_gameList.push_back(*tmp_itr);
|
m_gameList.push_back(*tmp_itr);
|
||||||
|
@ -58,7 +58,7 @@ void CMenu::_showBoot()
|
|||||||
if(cur_ios > 0)
|
if(cur_ios > 0)
|
||||||
m_btnMgr.setText(m_bootLblCurCIOSrev, wfmt(L"%i", cur_ios));
|
m_btnMgr.setText(m_bootLblCurCIOSrev, wfmt(L"%i", cur_ios));
|
||||||
else
|
else
|
||||||
m_btnMgr.setText(m_bootLblCurCIOSrev, L"AUTO");
|
m_btnMgr.setText(m_bootLblCurCIOSrev, L"AUTO");// cIOS 249 unless the user changed it via the meta.xml
|
||||||
|
|
||||||
m_btnMgr.show(m_bootLblLoadCIOS);
|
m_btnMgr.show(m_bootLblLoadCIOS);
|
||||||
m_btnMgr.show(m_bootBtnLoadCIOS);
|
m_btnMgr.show(m_bootBtnLoadCIOS);
|
||||||
|
@ -360,6 +360,8 @@ void CMenu::_textGameInfo(void)
|
|||||||
return;// no platform name found to match plugin magic #
|
return;// no platform name found to match plugin magic #
|
||||||
|
|
||||||
/* check COMBINED for database platform name */
|
/* check COMBINED for database platform name */
|
||||||
|
/* some platforms have different names per country (ex. Genesis/Megadrive) */
|
||||||
|
/* but we use only one platform name for both */
|
||||||
string newName = m_platform.getString("COMBINED", platformName);
|
string newName = m_platform.getString("COMBINED", platformName);
|
||||||
if(newName.empty())
|
if(newName.empty())
|
||||||
m_platform.remove("COMBINED", platformName);
|
m_platform.remove("COMBINED", platformName);
|
||||||
|
@ -131,6 +131,7 @@ void CMenu::_showCF(bool refreshList)
|
|||||||
wstringEx Pth;
|
wstringEx Pth;
|
||||||
if(m_gameList.empty())
|
if(m_gameList.empty())
|
||||||
{
|
{
|
||||||
|
cachecovers = false;
|
||||||
if(m_source_cnt > 1)
|
if(m_source_cnt > 1)
|
||||||
{
|
{
|
||||||
Msg = _t("main8", L"game list empty!");
|
Msg = _t("main8", L"game list empty!");
|
||||||
@ -498,6 +499,7 @@ int CMenu::main(void)
|
|||||||
show_channel = !m_cfg.getBool(CHANNEL_DOMAIN, "disable", false);
|
show_channel = !m_cfg.getBool(CHANNEL_DOMAIN, "disable", false);
|
||||||
show_plugin = !m_cfg.getBool(PLUGIN_DOMAIN, "disable", false);
|
show_plugin = !m_cfg.getBool(PLUGIN_DOMAIN, "disable", false);
|
||||||
show_gamecube = !m_cfg.getBool(GC_DOMAIN, "disable", false);
|
show_gamecube = !m_cfg.getBool(GC_DOMAIN, "disable", false);
|
||||||
|
show_homebrew = !m_cfg.getBool(HOMEBREW_DOMAIN, "disable", false);
|
||||||
_showMain();
|
_showMain();
|
||||||
}
|
}
|
||||||
else if(m_btnMgr.selected(m_mainBtnCategories))
|
else if(m_btnMgr.selected(m_mainBtnCategories))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user