The AutoMountImage can now handle .LST files.
This commit is contained in:
parent
09cfc4ec86
commit
ef7dfb1907
1 changed files with 22 additions and 15 deletions
|
@ -1349,6 +1349,12 @@ void FileBrowser::SelectAutoMountImage(const char* image)
|
||||||
f_chdir("/1541");
|
f_chdir("/1541");
|
||||||
RefreshFolderEntries();
|
RefreshFolderEntries();
|
||||||
|
|
||||||
|
if (SelectLST(image))
|
||||||
|
{
|
||||||
|
selectionsMade = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
FileBrowser::BrowsableList::Entry* current = 0;
|
FileBrowser::BrowsableList::Entry* current = 0;
|
||||||
int index;
|
int index;
|
||||||
int maxEntries = folder.entries.size();
|
int maxEntries = folder.entries.size();
|
||||||
|
@ -1368,6 +1374,7 @@ void FileBrowser::SelectAutoMountImage(const char* image)
|
||||||
caddySelections.entries.push_back(*current);
|
caddySelections.entries.push_back(*current);
|
||||||
selectionsMade = FillCaddyWithSelections();
|
selectionsMade = FillCaddyWithSelections();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int FileBrowser::BrowsableList::FindNextAutoName(char* filename)
|
int FileBrowser::BrowsableList::FindNextAutoName(char* filename)
|
||||||
|
|
Loading…
Reference in a new issue