diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-21 02:00:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 02:00:29 +0100 |
commit | b55c7bbcf79457e46432327b19c8a3495609467d (patch) | |
tree | 49469535c0a49620a227022c20d524de1dfe254d | |
parent | Merge pull request #1734 from lioncash/shared (diff) | |
parent | am: Correct build failure (diff) | |
download | yuzu-b55c7bbcf79457e46432327b19c8a3495609467d.tar yuzu-b55c7bbcf79457e46432327b19c8a3495609467d.tar.gz yuzu-b55c7bbcf79457e46432327b19c8a3495609467d.tar.bz2 yuzu-b55c7bbcf79457e46432327b19c8a3495609467d.tar.lz yuzu-b55c7bbcf79457e46432327b19c8a3495609467d.tar.xz yuzu-b55c7bbcf79457e46432327b19c8a3495609467d.tar.zst yuzu-b55c7bbcf79457e46432327b19c8a3495609467d.zip |
-rw-r--r-- | src/core/hle/service/am/am.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index fd14af1e7..7b4af9eb7 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -820,8 +820,8 @@ void ILibraryAppletCreator::CreateTransferMemoryStorage(Kernel::HLERequestContex return; } - const auto mem_begin = shared_mem->backing_block->begin() + shared_mem->backing_block_offset; - const auto mem_end = mem_begin + shared_mem->size; + const u8* mem_begin = shared_mem->GetPointer(); + const u8* mem_end = mem_begin + shared_mem->GetSize(); std::vector<u8> memory{mem_begin, mem_end}; IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |