ISOFileSystem: Move the startsector and dirsize information into the tree nodes

This commit is contained in:
Henrik Rydgard committed 2016-02-28 11:46:21 +01:00
1 parent 0458c7a590
commit afc8736b9a
2 files changed
+16 -11

No files matched your search

+4 -1
View File
@@ -65,6 +65,9 @@ private:
s64 size;
bool isDirectory;
u32 startsector;
u32 dirsize;
TreeEntry *parent;
std::vector<TreeEntry *> children;
};
@@ -90,7 +93,7 @@ private:
// Don't use this in the emu, not savestated.
std::vector<std::string> restrictTree;
void ReadDirectory(u32 startsector, u32 dirsize, TreeEntry *root, size_t level);
void ReadDirectory(TreeEntry *root, size_t level);
TreeEntry *GetFromPath(const std::string &path, bool catchError = true);
std::string EntryFullPath(TreeEntry *e);
};