mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +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
|
@ -48,17 +48,6 @@ class CFileSystemGCWii
|
|||
|
||||
private:
|
||||
|
||||
// file info of an FST entry
|
||||
struct SFileInfo
|
||||
{
|
||||
u32 m_NameOffset;
|
||||
u64 m_Offset;
|
||||
u32 m_FileSize;
|
||||
char m_FullPath[512];
|
||||
|
||||
bool IsDirectory() {return((m_NameOffset& 0xFF000000) != 0 ? true : false);}
|
||||
};
|
||||
|
||||
typedef std::vector<SFileInfo>CFileInfoVector;
|
||||
CFileInfoVector m_FileInfoVector;
|
||||
|
||||
|
@ -68,6 +57,8 @@ class CFileSystemGCWii
|
|||
|
||||
u32 Read32(u64 _Offset) const;
|
||||
|
||||
virtual size_t GetFileList(std::vector<SFileInfo> *_rFilenames);
|
||||
|
||||
void GetStringFromOffset(u64 _Offset, char* Filename) const;
|
||||
|
||||
const SFileInfo* FindFileInfo(const char* _rFullPath) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue