Show the filesystem types and origins in the list (except ISO)

This commit is contained in:
Henrik Rydgård committed 2024-11-26 00:36:58 +01:00
1 parent e95d9b15b4
commit 1eadea2589
10 files changed
+29 -13

No files matched your search

+3 -1
View File
@@ -131,7 +131,7 @@ public:
bool RemoveFile(const std::string &filename) override;
int Ioctl(u32 handle, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 outlen, int &usec) override;
PSPDevType DevType(u32 handle) override;
FileSystemFlags Flags() override { return FileSystemFlags::NONE; }
FileSystemFlags Flags() const override { return FileSystemFlags::NONE; }
u64 FreeDiskSpace(const std::string &path) override;
// Convenience helper - returns < 0 on failure.
@@ -155,6 +155,8 @@ public:
}
}
void Describe(char *buf, size_t size) const override { snprintf(buf, size, "Meta"); }
private:
int64_t RecursiveSize(const std::string &dirPath);
};