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
1 changed files with 22 additions and 15 deletions

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();
@ -1369,6 +1375,7 @@ void FileBrowser::SelectAutoMountImage(const char* image)
selectionsMade = FillCaddyWithSelections();
}
}
}
int FileBrowser::BrowsableList::FindNextAutoName(char* filename)
{