Implement optional dumping of NPDRM isos (PBP demos) on game startup

This commit is contained in:
Henrik Rydgård committed 2026-03-19 16:07:24 +01:00
1 parent 0e55129fab
commit 6377c0bb06
6 files changed
+69 -5

No files matched your search

+2
View File
@@ -57,6 +57,7 @@ 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, "ISO"); } // TODO: Ask the fileLoader about the origins
std::shared_ptr<BlockDevice> GetBlockDevice() override { return blockDevice; }
private:
struct TreeEntry {
~TreeEntry();
@@ -166,6 +167,7 @@ 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, "ISOBlock"); }
std::shared_ptr<BlockDevice> GetBlockDevice() { return isoFileSystem_->GetBlockDevice(); }
private:
std::shared_ptr<IFileSystem> isoFileSystem_;