diff options
author | Subv <subv2112@gmail.com> | 2017-09-30 05:42:25 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-10-01 21:18:36 +0200 |
commit | 1f2de7501b427f9f5ac1e5d244f8ec52eca9bc64 (patch) | |
tree | a9d90f71a28053bfa2f030bec6a781ae62ca4ec1 /src/core/memory.h | |
parent | Memory: Make ReadBlock take a Process parameter on which to operate (diff) | |
download | yuzu-1f2de7501b427f9f5ac1e5d244f8ec52eca9bc64.tar yuzu-1f2de7501b427f9f5ac1e5d244f8ec52eca9bc64.tar.gz yuzu-1f2de7501b427f9f5ac1e5d244f8ec52eca9bc64.tar.bz2 yuzu-1f2de7501b427f9f5ac1e5d244f8ec52eca9bc64.tar.lz yuzu-1f2de7501b427f9f5ac1e5d244f8ec52eca9bc64.tar.xz yuzu-1f2de7501b427f9f5ac1e5d244f8ec52eca9bc64.tar.zst yuzu-1f2de7501b427f9f5ac1e5d244f8ec52eca9bc64.zip |
Diffstat (limited to 'src/core/memory.h')
-rw-r--r-- | src/core/memory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 5d4eb56a9..dd599f73e 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -208,6 +208,8 @@ void Write64(VAddr addr, u64 data); void ReadBlock(const Kernel::Process& process, const VAddr src_addr, void* dest_buffer, size_t size); void ReadBlock(const VAddr src_addr, void* dest_buffer, size_t size); +void WriteBlock(const Kernel::Process& process, const VAddr dest_addr, const void* src_buffer, + size_t size); void WriteBlock(const VAddr dest_addr, const void* src_buffer, size_t size); void ZeroBlock(const VAddr dest_addr, const size_t size); void CopyBlock(VAddr dest_addr, VAddr src_addr, size_t size); |