mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
Directory-related functions implemented
* cellFsOpendir, cellFsReaddir, cellFsClosedir functions implemented. * vfsDirBase: m_entryes, GetEntryes renamed to m_entries, GetEntries respectively. * vfsLocalDir: Read() function added to get the entries one by one. * Moved IsExists() from vfsLocalDir to vfsDirBase to avoid "R6025 pure virtual function call" error. * Other minor changes in some functions of sys_fs
This commit is contained in:
parent
27a4e6a2b6
commit
4d98826259
8 changed files with 88 additions and 36 deletions
|
@ -27,15 +27,20 @@ bool vfsDirBase::IsOpened() const
|
|||
return !m_cwd.IsEmpty();
|
||||
}
|
||||
|
||||
const Array<DirEntryInfo>& vfsDirBase::GetEntryes() const
|
||||
bool vfsDirBase::IsExists(const wxString& path) const
|
||||
{
|
||||
return m_entryes;
|
||||
return wxDirExists(path);
|
||||
}
|
||||
|
||||
const Array<DirEntryInfo>& vfsDirBase::GetEntries() const
|
||||
{
|
||||
return m_entries;
|
||||
}
|
||||
|
||||
void vfsDirBase::Close()
|
||||
{
|
||||
m_cwd = wxEmptyString;
|
||||
m_entryes.Clear();
|
||||
m_entries.Clear();
|
||||
}
|
||||
|
||||
wxString vfsDirBase::GetPath() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue