mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-14 02:21:00 +00:00
Fix ttvfs bugs, sync with dev repo
This commit is contained in:
parent
6203bc7ce4
commit
b437a7cb2c
13 changed files with 84 additions and 108 deletions
|
@ -65,9 +65,12 @@ bool DirView::_addToView(char *path, DirView& view)
|
|||
return true;
|
||||
}
|
||||
|
||||
static void __test__()
|
||||
File *DirView::getFileFromSubdir(const char *subdir, const char *file)
|
||||
{
|
||||
new DirView;
|
||||
for(ViewList::reverse_iterator it = _view.rbegin(); it != _view.rend(); ++it)
|
||||
if(File* f = (*it)->getFileFromSubdir(subdir, file))
|
||||
return f;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
VFS_NAMESPACE_END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue