diff options
| author | 2018-09-25 09:17:14 -0400 | |
|---|---|---|
| committer | 2018-10-05 08:46:31 -0400 | |
| commit | e948fbf5d0211d9aed3d4cd9009e5f0224b75021 (patch) | |
| tree | ccf549021bd7eaeafa5f6e3a24c7a3f72122679f /src/core/loader/xci.cpp | |
| parent | Merge pull request #1415 from DarkLordZach/ips (diff) | |
| download | yuzu-e948fbf5d0211d9aed3d4cd9009e5f0224b75021.tar.gz yuzu-e948fbf5d0211d9aed3d4cd9009e5f0224b75021.tar.xz yuzu-e948fbf5d0211d9aed3d4cd9009e5f0224b75021.zip | |
loader: Add ReadRomFSIVFCOffset to NSP, XCI, and NAX loaders
Fixes errors with certain updates
Diffstat (limited to 'src/core/loader/xci.cpp')
| -rw-r--r-- | src/core/loader/xci.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp index eda67a8c8..12d589fab 100644 --- a/src/core/loader/xci.cpp +++ b/src/core/loader/xci.cpp | |||
| @@ -68,10 +68,13 @@ ResultStatus AppLoader_XCI::Load(Kernel::Process& process) { | |||
| 68 | return ResultStatus::Success; | 68 | return ResultStatus::Success; |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | ResultStatus AppLoader_XCI::ReadRomFS(FileSys::VirtualFile& dir) { | 71 | ResultStatus AppLoader_XCI::ReadRomFS(FileSys::VirtualFile& file) { |
| 72 | return nca_loader->ReadRomFS(dir); | 72 | return nca_loader->ReadRomFS(file); |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | u64 AppLoader_XCI::ReadRomFSIVFCOffset() const { | ||
| 76 | return nca_loader->ReadRomFSIVFCOffset(); | ||
| 77 | } | ||
| 75 | ResultStatus AppLoader_XCI::ReadProgramId(u64& out_program_id) { | 78 | ResultStatus AppLoader_XCI::ReadProgramId(u64& out_program_id) { |
| 76 | return nca_loader->ReadProgramId(out_program_id); | 79 | return nca_loader->ReadProgramId(out_program_id); |
| 77 | } | 80 | } |