From c14e5713f52cd58f2a8206d844448a8c2d1a54b6 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 12 Sep 2014 00:47:05 +0200 Subject: Core: Add a method to obtain a Directory from an Archive. --- src/core/file_sys/archive_sdmc.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/core/file_sys/archive_sdmc.h') diff --git a/src/core/file_sys/archive_sdmc.h b/src/core/file_sys/archive_sdmc.h index 931817e5..946f8b95 100644 --- a/src/core/file_sys/archive_sdmc.h +++ b/src/core/file_sys/archive_sdmc.h @@ -36,6 +36,13 @@ public: */ std::unique_ptr 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 OpenDirectory(const std::string& path) const override; + /** * Read data from the archive * @param offset Offset in bytes to start reading archive from -- cgit v1.2.3