diff options
author | bunnei <bunneidev@gmail.com> | 2019-08-21 18:10:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 18:10:10 +0200 |
commit | b4a8cfbd00863032fe4b4ed0145cfe1711b9317d (patch) | |
tree | 96d2ef5ae4b54857e2fd9b0dae5cb867acf30f7f /src/core/loader/nro.cpp | |
parent | Merge pull request #2769 from FernandoS27/commands-flush (diff) | |
parent | Common/Alignment: Add noexcept where required. (diff) | |
download | yuzu-b4a8cfbd00863032fe4b4ed0145cfe1711b9317d.tar yuzu-b4a8cfbd00863032fe4b4ed0145cfe1711b9317d.tar.gz yuzu-b4a8cfbd00863032fe4b4ed0145cfe1711b9317d.tar.bz2 yuzu-b4a8cfbd00863032fe4b4ed0145cfe1711b9317d.tar.lz yuzu-b4a8cfbd00863032fe4b4ed0145cfe1711b9317d.tar.xz yuzu-b4a8cfbd00863032fe4b4ed0145cfe1711b9317d.tar.zst yuzu-b4a8cfbd00863032fe4b4ed0145cfe1711b9317d.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 6a0ca389b..e92e2e06e 100644 --- a/src/core/loader/nro.cpp +++ b/src/core/loader/nro.cpp @@ -143,7 +143,7 @@ static bool LoadNroImpl(Kernel::Process& process, const std::vector<u8>& data, } // Build program image - std::vector<u8> program_image(PageAlignSize(nro_header.file_size)); + Kernel::PhysicalMemory program_image(PageAlignSize(nro_header.file_size)); std::memcpy(program_image.data(), data.data(), program_image.size()); if (program_image.size() != PageAlignSize(nro_header.file_size)) { return {}; |