diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-03 20:33:59 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-03 20:45:45 +0200 |
commit | 2beda7c2b3d2fe70ff36edf178d9bb2f5b308bf9 (patch) | |
tree | 8decd2e8d79f579920f1da76190b46a68eac5f88 /src/core/loader/nro.cpp | |
parent | Merge pull request #908 from lioncash/memory (diff) | |
download | yuzu-2beda7c2b3d2fe70ff36edf178d9bb2f5b308bf9.tar yuzu-2beda7c2b3d2fe70ff36edf178d9bb2f5b308bf9.tar.gz yuzu-2beda7c2b3d2fe70ff36edf178d9bb2f5b308bf9.tar.bz2 yuzu-2beda7c2b3d2fe70ff36edf178d9bb2f5b308bf9.tar.lz yuzu-2beda7c2b3d2fe70ff36edf178d9bb2f5b308bf9.tar.xz yuzu-2beda7c2b3d2fe70ff36edf178d9bb2f5b308bf9.tar.zst yuzu-2beda7c2b3d2fe70ff36edf178d9bb2f5b308bf9.zip |
Diffstat (limited to 'src/core/loader/nro.cpp')
-rw-r--r-- | src/core/loader/nro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index 7d3ec2a76..dc053cdad 100644 --- a/src/core/loader/nro.cpp +++ b/src/core/loader/nro.cpp @@ -159,7 +159,7 @@ bool AppLoader_NRO::LoadNro(FileSys::VirtualFile file, VAddr load_base) { // Resize program image to include .bss section and page align each section bss_size = PageAlignSize(mod_header.bss_end_offset - mod_header.bss_start_offset); } - codeset->data.size += bss_size; + codeset->DataSegment().size += bss_size; program_image.resize(static_cast<u32>(program_image.size()) + bss_size); // Load codeset for current process |