1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-28 15:06:31 -05:00

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