Merge pull request #71 from twolife/search_cdpath

Look at +cdpath parameter when searching for files to build menus
This commit is contained in:
ptitSeb 2023-05-15 11:47:29 +02:00 committed by GitHub
commit 9889193d0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4357,7 +4357,7 @@ void CLoadSaveMenu::StartMenu(void)
// list the directory // list the directory
CDynamicStackArray<CTFileName> afnmDir; CDynamicStackArray<CTFileName> afnmDir;
MakeDirList(afnmDir, gm_fnmDirectory, CTString(""), 0); MakeDirList(afnmDir, gm_fnmDirectory, CTString(""), DLI_SEARCHCD);
gm_iLastFile = -1; gm_iLastFile = -1;
// for each file in the directory // for each file in the directory