diff options
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) { | |||
| 159 | // Resize program image to include .bss section and page align each section | 159 | // Resize program image to include .bss section and page align each section |
| 160 | bss_size = PageAlignSize(mod_header.bss_end_offset - mod_header.bss_start_offset); | 160 | bss_size = PageAlignSize(mod_header.bss_end_offset - mod_header.bss_start_offset); |
| 161 | } | 161 | } |
| 162 | codeset->data.size += bss_size; | 162 | codeset->DataSegment().size += bss_size; |
| 163 | program_image.resize(static_cast<u32>(program_image.size()) + bss_size); | 163 | program_image.resize(static_cast<u32>(program_image.size()) + bss_size); |
| 164 | 164 | ||
| 165 | // Load codeset for current process | 165 | // Load codeset for current process |