summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_sdmc.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-15 08:03:17 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-16 04:08:43 +0100
commit0931a42af0c0666dd9fbc20484b399c0e1ad3361 (patch)
tree2d01160a592318c8bcfcba46b21fee90216c09e1 /src/core/file_sys/archive_sdmc.cpp
parentService.FS: Rename FileSys::Directory to DirectoryBackend (diff)
downloadyuzu-0931a42af0c0666dd9fbc20484b399c0e1ad3361.tar
yuzu-0931a42af0c0666dd9fbc20484b399c0e1ad3361.tar.gz
yuzu-0931a42af0c0666dd9fbc20484b399c0e1ad3361.tar.bz2
yuzu-0931a42af0c0666dd9fbc20484b399c0e1ad3361.tar.lz
yuzu-0931a42af0c0666dd9fbc20484b399c0e1ad3361.tar.xz
yuzu-0931a42af0c0666dd9fbc20484b399c0e1ad3361.tar.zst
yuzu-0931a42af0c0666dd9fbc20484b399c0e1ad3361.zip
Diffstat (limited to 'src/core/file_sys/archive_sdmc.cpp')
-rw-r--r--src/core/file_sys/archive_sdmc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_sdmc.cpp b/src/core/file_sys/archive_sdmc.cpp
index 9d26d2285..43252b98b 100644
--- a/src/core/file_sys/archive_sdmc.cpp
+++ b/src/core/file_sys/archive_sdmc.cpp
@@ -49,12 +49,12 @@ bool Archive_SDMC::Initialize() {
* @param mode Mode to open the file with
* @return Opened file, or nullptr
*/
-std::unique_ptr<File> Archive_SDMC::OpenFile(const Path& path, const Mode mode) const {
+std::unique_ptr<FileBackend> Archive_SDMC::OpenFile(const Path& path, const Mode mode) const {
LOG_DEBUG(Service_FS, "called path=%s mode=%u", path.DebugStr().c_str(), mode.hex);
File_SDMC* file = new File_SDMC(this, path, mode);
if (!file->Open())
return nullptr;
- return std::unique_ptr<File>(file);
+ return std::unique_ptr<FileBackend>(file);
}
/**