diff options
author | bunnei <bunneidev@gmail.com> | 2014-11-18 04:26:54 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-11-18 04:26:54 +0100 |
commit | b66859714bda5968e36fed47a2ff8516bcfd2248 (patch) | |
tree | f1a933079afdfea73e76a187441733642489e2b0 /src/core/file_sys/archive_romfs.cpp | |
parent | Merge pull request #201 from archshift/boss (diff) | |
parent | Archive: Fixed to not destroy archive handle on close. (diff) | |
download | yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.tar yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.tar.gz yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.tar.bz2 yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.tar.lz yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.tar.xz yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.tar.zst yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.zip |
Diffstat (limited to 'src/core/file_sys/archive_romfs.cpp')
-rw-r--r-- | src/core/file_sys/archive_romfs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/file_sys/archive_romfs.cpp b/src/core/file_sys/archive_romfs.cpp index cc759faa8..3ea60134f 100644 --- a/src/core/file_sys/archive_romfs.cpp +++ b/src/core/file_sys/archive_romfs.cpp @@ -29,7 +29,7 @@ Archive_RomFS::~Archive_RomFS() { * @param mode Mode to open the file with * @return Opened file, or nullptr */ -std::unique_ptr<File> Archive_RomFS::OpenFile(const std::string& path, const Mode mode) const { +std::unique_ptr<File> Archive_RomFS::OpenFile(const Path& path, const Mode mode) const { return std::unique_ptr<File>(new File_RomFS); } @@ -38,7 +38,7 @@ std::unique_ptr<File> Archive_RomFS::OpenFile(const std::string& path, const Mod * @param path Path relative to the archive * @return Whether the directory could be created */ -bool Archive_RomFS::CreateDirectory(const std::string& path) const { +bool Archive_RomFS::CreateDirectory(const Path& path) const { ERROR_LOG(FILESYS, "Attempted to create a directory in ROMFS."); return false; }; @@ -48,7 +48,7 @@ bool Archive_RomFS::CreateDirectory(const std::string& path) const { * @param path Path relative to the archive * @return Opened directory, or nullptr */ -std::unique_ptr<Directory> Archive_RomFS::OpenDirectory(const std::string& path) const { +std::unique_ptr<Directory> Archive_RomFS::OpenDirectory(const Path& path) const { return std::unique_ptr<Directory>(new Directory_RomFS); } |