diff options
| author | 2018-08-28 22:37:42 -0400 | |
|---|---|---|
| committer | 2018-09-04 16:24:02 -0400 | |
| commit | a6e75cd45b75a202eed1a68692e33e7732789dd2 (patch) | |
| tree | 48af4f9227030e247474334067515a5cdd0f5283 /src/core/loader/loader.h | |
| parent | bktr: Fix missing includes and optimize style (diff) | |
| download | yuzu-a6e75cd45b75a202eed1a68692e33e7732789dd2.tar.gz yuzu-a6e75cd45b75a202eed1a68692e33e7732789dd2.tar.xz yuzu-a6e75cd45b75a202eed1a68692e33e7732789dd2.zip | |
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: | |||
| 215 | } | 215 | } |
| 216 | 216 | ||
| 217 | /** | 217 | /** |
| 218 | * Gets the difference between the start of the IVFC header and the start of level 6 (RomFS) | ||
| 219 | * data. Needed for bktr patching. | ||
| 220 | * @return IVFC offset for romfs. | ||
| 221 | */ | ||
| 222 | virtual u64 ReadRomFSIVFCOffset() const { | ||
| 223 | return 0; | ||
| 224 | } | ||
| 225 | |||
| 226 | /** | ||
| 218 | * Get the title of the application | 227 | * Get the title of the application |
| 219 | * @param title Reference to store the application title into | 228 | * @param title Reference to store the application title into |
| 220 | * @return ResultStatus result of function | 229 | * @return ResultStatus result of function |