Loader: Remove unnecessary pointer indirection to IOFile

This commit is contained in:
Yuri Kunde Schlesner 2015-07-11 19:16:33 -03:00
parent c385b7767d
commit 2d7299a86f
10 changed files with 50 additions and 50 deletions

View file

@ -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!");

View file

@ -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;