Alt-A now works from any folder
This commit is contained in:
parent
d15641e57f
commit
94f579fc08
3 changed files with 6 additions and 3 deletions
|
@ -1287,8 +1287,11 @@ void FileBrowser::DisplayDiskInfo(DiskImage* diskImage, const char* filenameForI
|
|||
}
|
||||
}
|
||||
|
||||
void FileBrowser::AutoSelectImage(const char* image)
|
||||
void FileBrowser::SelectAutoMountImage(const char* image)
|
||||
{
|
||||
f_chdir("/1541");
|
||||
RefreshFolderEntries();
|
||||
|
||||
FileBrowser::BrowsableList::Entry* current = 0;
|
||||
int index;
|
||||
int maxEntries = folder.entries.size();
|
||||
|
|
|
@ -168,7 +168,7 @@ public:
|
|||
|
||||
FileBrowser(DiskCaddy* diskCaddy, ROMs* roms, u8* deviceID, bool displayPNGIcons, ScreenBase* screenMain, ScreenBase* screenLCD, float scrollHighlightRate);
|
||||
|
||||
void AutoSelectImage(const char* image);
|
||||
void SelectAutoMountImage(const char* image);
|
||||
void DisplayRoot();
|
||||
void Update();
|
||||
|
||||
|
|
|
@ -657,7 +657,7 @@ void CheckAutoMountImage(EXIT_TYPE reset_reason , FileBrowser* fileBrowser)
|
|||
{
|
||||
case EXIT_UNKNOWN:
|
||||
case EXIT_RESET:
|
||||
fileBrowser->AutoSelectImage(autoMountImageName);
|
||||
fileBrowser->SelectAutoMountImage(autoMountImageName);
|
||||
break;
|
||||
case EXIT_CD:
|
||||
case EXIT_KEYBOARD:
|
||||
|
|
Loading…
Reference in a new issue