diff --git a/source/menu/menu_explorer.cpp b/source/menu/menu_explorer.cpp index 280de74b..ebd055a7 100644 --- a/source/menu/menu_explorer.cpp +++ b/source/menu/menu_explorer.cpp @@ -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); } diff --git a/source/menu/menu_game.cpp b/source/menu/menu_game.cpp index 50ef65aa..02b4ac64 100644 --- a/source/menu/menu_game.cpp +++ b/source/menu/menu_game.cpp @@ -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);