diff options
| author | 2018-04-25 20:40:17 -0400 | |
|---|---|---|
| committer | 2018-04-25 20:40:17 -0400 | |
| commit | 42d43ea741886b9592fd7dfd57c33228afacf44c (patch) | |
| tree | abfeb405b9c710816ad9ea8e06ea14854c0eb4a9 /src/core/memory.cpp | |
| parent | Merge pull request #395 from lioncash/file-sys (diff) | |
| parent | GPU: Partially implemented the Fermi2D surface copy operation. (diff) | |
| download | yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.tar.gz yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.tar.xz yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.zip | |
Merge pull request #387 from Subv/maxwell_2d
GPU: Partially implemented the 2D surface copy engine
Diffstat (limited to 'src/core/memory.cpp')
| -rw-r--r-- | src/core/memory.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp index d7c0080fa..2afa0916d 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp | |||
| @@ -659,6 +659,10 @@ void CopyBlock(const Kernel::Process& process, VAddr dest_addr, VAddr src_addr, | |||
| 659 | } | 659 | } |
| 660 | } | 660 | } |
| 661 | 661 | ||
| 662 | void CopyBlock(VAddr dest_addr, VAddr src_addr, size_t size) { | ||
| 663 | CopyBlock(*Core::CurrentProcess(), dest_addr, src_addr, size); | ||
| 664 | } | ||
| 665 | |||
| 662 | boost::optional<PAddr> TryVirtualToPhysicalAddress(const VAddr addr) { | 666 | boost::optional<PAddr> TryVirtualToPhysicalAddress(const VAddr addr) { |
| 663 | if (addr == 0) { | 667 | if (addr == 0) { |
| 664 | return 0; | 668 | return 0; |