(svn r27643) -Codechange: FiosGetDrives function also takes a destination file list.

This commit is contained in:
alberth
2016-09-04 12:54:30 +00:00
parent caf3379746
commit 95bb103a23
4 changed files with 9 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ bool FiosIsRoot(const char *file)
return file[3] == '\0';
}
void FiosGetDrives()
void FiosGetDrives(FileList &file_list)
{
uint disk, disk2, save, total;
@@ -75,7 +75,7 @@ void FiosGetDrives()
#endif
if (disk == disk2) {
FiosItem *fios = _fios_items.Append();
FiosItem *fios = file_list.Append();
fios->type = FIOS_TYPE_DRIVE;
fios->mtime = 0;
#ifndef __INNOTEK_LIBC__