mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-22 03:09:15 +01:00
Consistently show the storage details
This commit is contained in:
parent
6f653db8a5
commit
c3d27c3256
@ -125,9 +125,9 @@ int MountGamePartition(bool ShowGUI)
|
|||||||
|
|
||||||
s32 wbfsinit = WBFS_Init(WBFS_DEVICE_USB);
|
s32 wbfsinit = WBFS_Init(WBFS_DEVICE_USB);
|
||||||
|
|
||||||
if(Settings.LoaderMode & MODE_WIIGAMES)
|
if (wbfsinit < 0)
|
||||||
{
|
{
|
||||||
if (wbfsinit < 0)
|
if(Settings.LoaderMode & MODE_WIIGAMES)
|
||||||
{
|
{
|
||||||
if(ShowGUI)
|
if(ShowGUI)
|
||||||
ShowError("%s %s", tr( "USB Device not initialized." ), tr("Switching to channel list mode."));
|
ShowError("%s %s", tr( "USB Device not initialized." ), tr("Switching to channel list mode."));
|
||||||
@ -135,13 +135,16 @@ int MountGamePartition(bool ShowGUI)
|
|||||||
Settings.LoaderMode &= ~MODE_WIIGAMES;
|
Settings.LoaderMode &= ~MODE_WIIGAMES;
|
||||||
Settings.LoaderMode |= MODE_NANDCHANNELS;
|
Settings.LoaderMode |= MODE_NANDCHANNELS;
|
||||||
}
|
}
|
||||||
else
|
}
|
||||||
{
|
else
|
||||||
if(Settings.MultiplePartitions)
|
{
|
||||||
ret = WBFS_OpenAll();
|
if(Settings.MultiplePartitions)
|
||||||
else if(!Settings.FirstTimeRun)
|
ret = WBFS_OpenAll();
|
||||||
ret = WBFS_OpenPart(Settings.partition);
|
else if(!Settings.FirstTimeRun)
|
||||||
|
ret = WBFS_OpenPart(Settings.partition);
|
||||||
|
|
||||||
|
if(Settings.LoaderMode & MODE_WIIGAMES)
|
||||||
|
{
|
||||||
if(ret < 0)
|
if(ret < 0)
|
||||||
ret = FindGamePartition();
|
ret = FindGamePartition();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user