diff options
author | bunnei <bunneidev@gmail.com> | 2019-08-21 12:10:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 12:10:10 -0400 |
commit | b4a8cfbd00863032fe4b4ed0145cfe1711b9317d (patch) | |
tree | 96d2ef5ae4b54857e2fd9b0dae5cb867acf30f7f /src/core/loader/nso.cpp | |
parent | d654b3d82eed3093957223b17db12875c7752280 (diff) | |
parent | febb88efc43ae171cc2880651b0665614c586504 (diff) |
Merge pull request #2748 from FernandoS27/align-memorymainline-280mainline-264
VM_Manager: Align allocated host physical memory to 256bytes
Diffstat (limited to 'src/core/loader/nso.cpp')
-rw-r--r-- | src/core/loader/nso.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp index 29311404a7..70c90109f3 100644 --- a/src/core/loader/nso.cpp +++ b/src/core/loader/nso.cpp @@ -89,7 +89,7 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::Process& process, // Build program image Kernel::CodeSet codeset; - std::vector<u8> program_image; + Kernel::PhysicalMemory program_image; for (std::size_t i = 0; i < nso_header.segments.size(); ++i) { std::vector<u8> data = file.ReadBytes(nso_header.segments_compressed_size[i], nso_header.segments[i].offset); |