The AutoMountImage can now handle .LST files.

This commit is contained in:
Stephen White 2018-07-29 16:47:32 +10:00
parent 09cfc4ec86
commit ef7dfb1907

View file

@ -1349,6 +1349,12 @@ void FileBrowser::SelectAutoMountImage(const char* image)
f_chdir("/1541");
RefreshFolderEntries();
if (SelectLST(image))
{
selectionsMade = true;
}
else
{
FileBrowser::BrowsableList::Entry* current = 0;
int index;
int maxEntries = folder.entries.size();
@ -1368,6 +1374,7 @@ void FileBrowser::SelectAutoMountImage(const char* image)
caddySelections.entries.push_back(*current);
selectionsMade = FillCaddyWithSelections();
}
}
}
int FileBrowser::BrowsableList::FindNextAutoName(char* filename)