mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-11 09:42:54 +01:00
Memory: Added a missing shortcut for Memory::CopyBlock for the current process.
This commit is contained in:
1 parent
634620b502
commit
6418127891
1 file changed
+4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user