aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader/loader.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-28 22:37:42 -0400
committerZach Hilman <zachhilman@gmail.com>2018-09-04 16:24:02 -0400
commitb8f8b0fa473d4d4e90eef7587387044e911bebfa (patch)
tree48af4f9227030e247474334067515a5cdd0f5283 /src/core/loader/loader.h
parente88835cd40028271ef8de2c3f6eea9ef34e2be7a (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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 225c05127d..843c4bb912 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