mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Started Work on File System Viewer. It isn't very pretty yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@570 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
07421b08eb
commit
28cd7e220c
7 changed files with 57 additions and 21 deletions
|
@ -159,8 +159,17 @@ void CFileSystemGCWii::GetStringFromOffset(u64 _Offset, char* Filename) const
|
|||
m_rVolume.Read(_Offset, 255, (u8*)Filename);
|
||||
}
|
||||
|
||||
size_t CFileSystemGCWii::GetFileList(std::vector<SFileInfo> *_rFilenames)
|
||||
{
|
||||
(*_rFilenames).resize(m_FileInfoVector.size());
|
||||
for (size_t i = 0; i < m_FileInfoVector.size(); i++)
|
||||
{
|
||||
(*_rFilenames)[i] = m_FileInfoVector[i];
|
||||
}
|
||||
return m_FileInfoVector.size();
|
||||
}
|
||||
|
||||
const CFileSystemGCWii::SFileInfo*
|
||||
const SFileInfo*
|
||||
CFileSystemGCWii::FindFileInfo(const char* _rFullPath) const
|
||||
{
|
||||
for (size_t i = 0; i < m_FileInfoVector.size(); i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue