summaryrefslogtreecommitdiff
path: root/src/core/loader/xci.cpp
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-09-25 09:17:14 -0400
committerGravatar Zach Hilman2018-10-05 08:46:31 -0400
commite948fbf5d0211d9aed3d4cd9009e5f0224b75021 (patch)
treeccf549021bd7eaeafa5f6e3a24c7a3f72122679f /src/core/loader/xci.cpp
parentMerge pull request #1415 from DarkLordZach/ips (diff)
downloadyuzu-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.cpp7
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
71ResultStatus AppLoader_XCI::ReadRomFS(FileSys::VirtualFile& dir) { 71ResultStatus AppLoader_XCI::ReadRomFS(FileSys::VirtualFile& file) {
72 return nca_loader->ReadRomFS(dir); 72 return nca_loader->ReadRomFS(file);
73} 73}
74 74
75u64 AppLoader_XCI::ReadRomFSIVFCOffset() const {
76 return nca_loader->ReadRomFSIVFCOffset();
77}
75ResultStatus AppLoader_XCI::ReadProgramId(u64& out_program_id) { 78ResultStatus 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}