Merge pull request #387 from Subv/maxwell_2d

GPU: Partially implemented the 2D surface copy engine
This commit is contained in:
bunnei 2018-04-25 20:40:17 -04:00 committed by GitHub
commit 9176319a5c
10 changed files with 203 additions and 52 deletions

View file

@ -659,6 +659,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;