mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 19:59:16 +01:00
- Added auto QF MIOS install if triiforce plugin used.
- added right and left to explorer to stay consistent with other menus
This commit is contained in:
parent
e5336404f4
commit
082af6dd97
@ -104,11 +104,11 @@ void CMenu::_Explorer(void)
|
||||
memset(folderPath, 0, MAX_FAT_PATH);
|
||||
break;
|
||||
}
|
||||
else if(BTN_PLUS_PRESSED)
|
||||
else if(BTN_PLUS_PRESSED || BTN_RIGHT_PRESSED)
|
||||
{
|
||||
_refreshExplorer(1);
|
||||
}
|
||||
else if(BTN_MINUS_PRESSED)
|
||||
else if(BTN_MINUS_PRESSED || BTN_LEFT_PRESSED)
|
||||
{
|
||||
_refreshExplorer(-1);
|
||||
}
|
||||
|
@ -778,6 +778,16 @@ void CMenu::_launch(const dir_discHdr *hdr)
|
||||
wcstombs(title, launchHdr.title, 63);
|
||||
}
|
||||
m_cfg.setString(PLUGIN_DOMAIN, "current_item", title);
|
||||
const char *mios_wad = NULL;
|
||||
if(m_cfg.getBool("PLUGIN", "444d4c62", false))
|
||||
{
|
||||
if(currentPartition == SD && (m_mios_ver != 2 || m_sd_dm == false))
|
||||
mios_wad = fmt("%s/qfsd.wad", m_miosDir.c_str());
|
||||
else if(currentPartition != SD && (m_mios_ver != 2 || m_sd_dm == true))
|
||||
mios_wad = fmt("%s/qfusb.wad", m_miosDir.c_str());
|
||||
if(mios_wad != NULL && fsop_FileExist(mios_wad))
|
||||
_Wad(mios_wad, true);//install mios
|
||||
}
|
||||
const char *device = (currentPartition == 0 ? "sd" : (DeviceHandle.GetFSType(currentPartition) == PART_FS_NTFS ? "ntfs" : "usb"));
|
||||
const char *loader = fmt("%s:/%s/WiiFlowLoader.dol", device, strchr(m_pluginsDir.c_str(), '/') + 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user