forked from suyu/suyu
am: Correct build failure
The interface for shared memory was changed, but another commit was merged that relied on the (previously public) internals of SharedMemory. This amends that discrepancy.
This commit is contained in:
parent
aa7e53ab5c
commit
f17e122025
1 changed files with 2 additions and 2 deletions
|
@ -820,8 +820,8 @@ void ILibraryAppletCreator::CreateTransferMemoryStorage(Kernel::HLERequestContex
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto mem_begin = shared_mem->backing_block->begin() + shared_mem->backing_block_offset;
|
const u8* mem_begin = shared_mem->GetPointer();
|
||||||
const auto mem_end = mem_begin + shared_mem->size;
|
const u8* mem_end = mem_begin + shared_mem->GetSize();
|
||||||
std::vector<u8> memory{mem_begin, mem_end};
|
std::vector<u8> memory{mem_begin, mem_end};
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
|
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
|
||||||
|
|
Loading…
Reference in a new issue