mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 07:03:33 +02:00
ISOFileSystem: Move the level into the tree nodes
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
private:
|
||||
struct TreeEntry {
|
||||
TreeEntry(){}
|
||||
TreeEntry() : flags(0), valid(false) {}
|
||||
~TreeEntry();
|
||||
|
||||
std::string name;
|
||||
@@ -67,8 +67,11 @@ private:
|
||||
|
||||
u32 startsector;
|
||||
u32 dirsize;
|
||||
int level;
|
||||
|
||||
TreeEntry *parent;
|
||||
|
||||
bool valid;
|
||||
std::vector<TreeEntry *> children;
|
||||
};
|
||||
|
||||
@@ -93,7 +96,7 @@ private:
|
||||
// Don't use this in the emu, not savestated.
|
||||
std::vector<std::string> restrictTree;
|
||||
|
||||
void ReadDirectory(TreeEntry *root, size_t level);
|
||||
void ReadDirectory(TreeEntry *root);
|
||||
TreeEntry *GetFromPath(const std::string &path, bool catchError = true);
|
||||
std::string EntryFullPath(TreeEntry *e);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user