- 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:
Fledge68 2019-04-29 08:14:54 -05:00
parent d991834789
commit 7bf04b023d
7 changed files with 15 additions and 7 deletions

View File

@ -43,6 +43,10 @@ NandSave::NandSave()
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()
{
/* 10 million variables */

View File

@ -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 */
if(!m_cachePath.empty())
{
char wfcTitle[64];
wfcTitle[63] = '\0';
char wfcTitle[128];
wfcTitle[127] = '\0';
const char *wfcCoverDir = NULL;
char *full_path = (char*)MEM2_alloc(MAX_FAT_PATH+1);
if(full_path == NULL)

View File

@ -23,7 +23,7 @@
#include "memory/memory.h"
bool isWiiVC = false;
bool useMainIOS = false;
bool useMainIOS = true;
volatile bool NANDemuView = false;
volatile bool networkInit = false;
@ -167,9 +167,9 @@ int main(int argc, char **argv)
/* Handle (c)IOS Loading */
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
gprintf("Using IOS58\n");
gprintf("Using IOS58\n");// stay on IOS58. no reload to cIOS
}
/* sys inits */

View File

@ -2328,7 +2328,7 @@ bool CMenu::_loadGamecubeList()
bool updateCache = m_cfg.getBool(GC_DOMAIN, "update_cache");
if(updateCache || !fsop_FileExist(cacheDir.c_str()))
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");
for(vector<dir_discHdr>::iterator tmp_itr = m_cacheList.begin(); tmp_itr != m_cacheList.end(); tmp_itr++)
m_gameList.push_back(*tmp_itr);

View File

@ -58,7 +58,7 @@ void CMenu::_showBoot()
if(cur_ios > 0)
m_btnMgr.setText(m_bootLblCurCIOSrev, wfmt(L"%i", cur_ios));
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_bootBtnLoadCIOS);

View File

@ -360,6 +360,8 @@ void CMenu::_textGameInfo(void)
return;// no platform name found to match plugin magic #
/* 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);
if(newName.empty())
m_platform.remove("COMBINED", platformName);

View File

@ -131,6 +131,7 @@ void CMenu::_showCF(bool refreshList)
wstringEx Pth;
if(m_gameList.empty())
{
cachecovers = false;
if(m_source_cnt > 1)
{
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_plugin = !m_cfg.getBool(PLUGIN_DOMAIN, "disable", false);
show_gamecube = !m_cfg.getBool(GC_DOMAIN, "disable", false);
show_homebrew = !m_cfg.getBool(HOMEBREW_DOMAIN, "disable", false);
_showMain();
}
else if(m_btnMgr.selected(m_mainBtnCategories))