Merge pull request #387 from Subv/maxwell_2d

GPU: Partially implemented the 2D surface copy engine
This commit is contained in:
bunnei authored and GitHub committed 2018-04-25 20:40:17 -04:00
commit 42d43ea741
10 files changed
+203 -52

No files matched your search

+4
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;