Skip to content
Snippets Groups Projects
Commit 5ab59704 authored by Subv's avatar Subv
Browse files

Memory: Added a missing shortcut for Memory::CopyBlock for the current process.

parent 1dd4861d
No related branches found
No related tags found
No related merge requests found
......@@ -657,6 +657,10 @@ void CopyBlock(const Kernel::Process& process, VAddr dest_addr, VAddr src_addr,
}
}
void CopyBlock(VAddr dest_addr, VAddr src_addr, size_t size) {
CopyBlock(*Core::CurrentProcess(), dest_addr, src_addr, size);
}
boost::optional<PAddr> TryVirtualToPhysicalAddress(const VAddr addr) {
if (addr == 0) {
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment