summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-26 02:40:17 +0200
committerGitHub <noreply@github.com>2018-04-26 02:40:17 +0200
commit42d43ea741886b9592fd7dfd57c33228afacf44c (patch)
treeabfeb405b9c710816ad9ea8e06ea14854c0eb4a9 /src/core
parentMerge pull request #395 from lioncash/file-sys (diff)
parentGPU: Partially implemented the Fermi2D surface copy operation. (diff)
downloadyuzu-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.cpp4
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;