diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-28 22:37:42 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-09-04 16:24:02 -0400 |
commit | a6e75cd45b75a202eed1a68692e33e7732789dd2 (patch) | |
tree | 48af4f9227030e247474334067515a5cdd0f5283 /src/core/loader/loader.h | |
parent | 9664ce255db09f4501db642c1e82d8cf8f274a22 (diff) |
bktr: Implement IVFC offset shifting
Fixes base game read errors
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r-- | src/core/loader/loader.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 225c05127..843c4bb91 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -215,6 +215,15 @@ public: } /** + * Gets the difference between the start of the IVFC header and the start of level 6 (RomFS) + * data. Needed for bktr patching. + * @return IVFC offset for romfs. + */ + virtual u64 ReadRomFSIVFCOffset() const { + return 0; + } + + /** * Get the title of the application * @param title Reference to store the application title into * @return ResultStatus result of function |