diff options
| author | bunnei <bunneidev@gmail.com> | 2014-11-17 22:26:54 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2014-11-17 22:26:54 -0500 |
| commit | b66859714bda5968e36fed47a2ff8516bcfd2248 (patch) | |
| tree | f1a933079afdfea73e76a187441733642489e2b0 /src/core/file_sys/archive_romfs.h | |
| parent | 4ac4c3caf1ddcb645ef1ee877163eaf93cd5f1c5 (diff) | |
| parent | 11641b5e7913a90d2428d7a3ad04b9963e9fa278 (diff) | |
Merge pull request #192 from bunnei/fs-fix-paths
FileSys: Updates backend code to use FileSys::Path and fixes binary path types.
Diffstat (limited to 'src/core/file_sys/archive_romfs.h')
| -rw-r--r-- | src/core/file_sys/archive_romfs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h index ae2344e82..8d5715734 100644 --- a/src/core/file_sys/archive_romfs.h +++ b/src/core/file_sys/archive_romfs.h @@ -34,21 +34,21 @@ public: * @param mode Mode to open the file with * @return Opened file, or nullptr */ - std::unique_ptr<File> OpenFile(const std::string& path, const Mode mode) const override; + std::unique_ptr<File> OpenFile(const Path& path, const Mode mode) const override; /** * Create a directory specified by its path * @param path Path relative to the archive * @return Whether the directory could be created */ - bool CreateDirectory(const std::string& path) const override; + bool CreateDirectory(const Path& path) 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; + std::unique_ptr<Directory> OpenDirectory(const Path& path) const override; /** * Read data from the archive |
