Loader: Remove unnecessary pointer indirection to IOFile
This commit is contained in:
parent
c385b7767d
commit
2d7299a86f
10 changed files with 50 additions and 50 deletions
|
@ -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!");
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue