summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-12 00:16:33 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-14 01:00:56 +0200
commit2d7299a86fdc4ba2485042f950d864e063be5e97 (patch)
tree26c15a7b8fe0563dc39dd80564c30405d458bfe7 /src/core/file_sys
parentFS: Stream RomFS from file instead of loading all of it to memory (diff)
downloadyuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.gz
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.bz2
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.lz
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.xz
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.tar.zst
yuzu-2d7299a86fdc4ba2485042f950d864e063be5e97.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/archive_romfs.cpp2
-rw-r--r--src/core/file_sys/archive_romfs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_romfs.cpp b/src/core/file_sys/archive_romfs.cpp
index b792b1c8c..696b51a94 100644
--- a/src/core/file_sys/archive_romfs.cpp
+++ b/src/core/file_sys/archive_romfs.cpp
@@ -17,7 +17,7 @@
namespace FileSys {
-ArchiveFactory_RomFS::ArchiveFactory_RomFS(const Loader::AppLoader& app_loader) {
+ArchiveFactory_RomFS::ArchiveFactory_RomFS(Loader::AppLoader& app_loader) {
// Load the RomFS from the app
if (Loader::ResultStatus::Success != app_loader.ReadRomFS(romfs_file, data_offset, data_size)) {
LOG_ERROR(Service_FS, "Unable to read RomFS!");
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h
index 0ef67c557..2bedfa9c6 100644
--- a/src/core/file_sys/archive_romfs.h
+++ b/src/core/file_sys/archive_romfs.h
@@ -22,7 +22,7 @@ namespace FileSys {
/// File system interface to the RomFS archive
class ArchiveFactory_RomFS final : public ArchiveFactory {
public:
- ArchiveFactory_RomFS(const Loader::AppLoader& app_loader);
+ ArchiveFactory_RomFS(Loader::AppLoader& app_loader);
std::string GetName() const override { return "RomFS"; }
ResultVal<std::unique_ptr<ArchiveBackend>> Open(const Path& path) override;