summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_romfs.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-09-12 00:47:05 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2014-09-17 16:35:46 +0200
commitc14e5713f52cd58f2a8206d844448a8c2d1a54b6 (patch)
tree00b089a33c950107ad161a36b1c17808a85eef88 /src/core/file_sys/archive_romfs.h
parentCore: Add a Directory object, with both a stub and a passthrough implementations. (diff)
downloadyuzu-c14e5713f52cd58f2a8206d844448a8c2d1a54b6.tar
yuzu-c14e5713f52cd58f2a8206d844448a8c2d1a54b6.tar.gz
yuzu-c14e5713f52cd58f2a8206d844448a8c2d1a54b6.tar.bz2
yuzu-c14e5713f52cd58f2a8206d844448a8c2d1a54b6.tar.lz
yuzu-c14e5713f52cd58f2a8206d844448a8c2d1a54b6.tar.xz
yuzu-c14e5713f52cd58f2a8206d844448a8c2d1a54b6.tar.zst
yuzu-c14e5713f52cd58f2a8206d844448a8c2d1a54b6.zip
Diffstat (limited to 'src/core/file_sys/archive_romfs.h')
-rw-r--r--src/core/file_sys/archive_romfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h
index a7669dd71..fcdefa95f 100644
--- a/src/core/file_sys/archive_romfs.h
+++ b/src/core/file_sys/archive_romfs.h
@@ -37,6 +37,13 @@ public:
std::unique_ptr<File> OpenFile(const std::string& path, const Mode mode) const override;
/**
+ * Open a directory specified by its path
+ * @param path Path relative to the archive
+ * @return Opened directory, or nullptr
+ */
+ std::unique_ptr<Directory> OpenDirectory(const std::string& path) const override;
+
+ /**
* Read data from the archive
* @param offset Offset in bytes to start reading data from
* @param length Length in bytes of data to read from archive