diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-26 02:40:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-26 02:40:17 +0200 |
commit | 42d43ea741886b9592fd7dfd57c33228afacf44c (patch) | |
tree | abfeb405b9c710816ad9ea8e06ea14854c0eb4a9 /src/core | |
parent | Merge pull request #395 from lioncash/file-sys (diff) | |
parent | GPU: Partially implemented the Fermi2D surface copy operation. (diff) | |
download | yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.tar yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.tar.gz yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.tar.bz2 yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.tar.lz yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.tar.xz yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.tar.zst yuzu-42d43ea741886b9592fd7dfd57c33228afacf44c.zip |
Diffstat (limited to '')
-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, } } +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; |