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
@@ -43,7 +43,7 @@ public:
int Ioctl(u32 handle, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 outlen, int &usec) override;
PSPDevType DevType(u32 handle) override;
std::vector<PSPFileInfo> GetDirListing(const std::string &path, bool *exists = nullptr) override;
FileSystemFlags Flags() override { return FileSystemFlags::UMD; }
FileSystemFlags Flags() const override { return FileSystemFlags::UMD; }
u64 FreeDiskSpace(const std::string &path) override { return 0; }
// unsupported operations
@@ -56,6 +56,8 @@ public:
bool ComputeRecursiveDirSizeIfFast(const std::string &path, int64_t *size) override { return false; }
void Describe(char *buf, size_t size) const override { snprintf(buf, size, "VirtualDisc: %s", basePath.ToVisualString().c_str()); } // TODO: Ask the fileLoader about the origins
private:
void LoadFileListIndex();
// Warning: modifies input string.