mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-01-25 18:21:11 +01:00
- fix for nand switching to make it work with root nands. and fixed english.ini thanks to EtheBoss
This commit is contained in:
parent
84892d53d8
commit
1e116f27c5
@ -114,7 +114,6 @@ void CMenu::_Explorer(void)
|
|||||||
strcat(dir, entries_char[i-1]);
|
strcat(dir, entries_char[i-1]);
|
||||||
/* otherwise it fails */
|
/* otherwise it fails */
|
||||||
strcat(dir, "/");
|
strcat(dir, "/");
|
||||||
//gprintf("Directory path =%s\n", dir);
|
|
||||||
_refreshExplorer();
|
_refreshExplorer();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -383,8 +382,8 @@ string CMenu::_FolderExplorer(void)
|
|||||||
{
|
{
|
||||||
path = dir;
|
path = dir;
|
||||||
//check to make sure it's not just device+partition
|
//check to make sure it's not just device+partition
|
||||||
if(path.find_first_of("/") == path.find_last_of("/"))
|
//if(path.find_first_of("/") == path.find_last_of("/"))
|
||||||
path = "";
|
// path = "";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -410,10 +409,8 @@ string CMenu::_FolderExplorer(void)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
folderName = folderName.erase(folderName.find_last_of("/"));
|
folderName = folderName.erase(folderName.find_last_of("/"));
|
||||||
//if it was just device and :/ then foldername empty
|
//if its more than just device and :/ then erase up to last foldername
|
||||||
if(folderName.find_last_of("/") == string::npos)
|
if(folderName.find_last_of("/") != string::npos)
|
||||||
folderName = "";
|
|
||||||
else
|
|
||||||
folderName = folderName.erase(0, folderName.find_last_of("/")+1);
|
folderName = folderName.erase(0, folderName.find_last_of("/")+1);
|
||||||
}
|
}
|
||||||
//if we removed device then clear path completely
|
//if we removed device then clear path completely
|
||||||
@ -434,7 +431,10 @@ string CMenu::_FolderExplorer(void)
|
|||||||
{
|
{
|
||||||
explorer_partition = i-2;
|
explorer_partition = i-2;
|
||||||
if(DeviceHandle.IsInserted(i-2))
|
if(DeviceHandle.IsInserted(i-2))
|
||||||
|
{
|
||||||
strcpy(dir, fmt("%s:/", DeviceName[i-2]));
|
strcpy(dir, fmt("%s:/", DeviceName[i-2]));
|
||||||
|
folderName = dir;
|
||||||
|
}
|
||||||
_refreshFolderExplorer();
|
_refreshFolderExplorer();
|
||||||
}
|
}
|
||||||
//if it's a folder add folder+/ to path
|
//if it's a folder add folder+/ to path
|
||||||
|
@ -134,7 +134,7 @@ cfgne29=Flashed: %d saves / %d files / %d folders
|
|||||||
cfgne30=Flashing save files finished!
|
cfgne30=Flashing save files finished!
|
||||||
cfgne31=Select Partition
|
cfgne31=Select Partition
|
||||||
cfgne32=Change Nand
|
cfgne32=Change Nand
|
||||||
cfgne32=Change Saves Nand
|
cfgne33=Change Saves Nand
|
||||||
cfgp1=Game Partition
|
cfgp1=Game Partition
|
||||||
cfgp3=Init network on boot
|
cfgp3=Init network on boot
|
||||||
cfgpl1=Select Plugins
|
cfgpl1=Select Plugins
|
||||||
|
Loading…
x
Reference in New Issue
Block a user