diff options
author | Subv <subv2112@gmail.com> | 2017-09-30 02:38:54 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-10-01 21:18:36 +0200 |
commit | 811c01e5fec3a1cc7a6faf5eaed11d1aaef31768 (patch) | |
tree | 870664eab7fc616bbb674f7d9a70570aabdd43a3 /src/core/memory.h | |
parent | Kernel/Thread: Added a helper function to get a thread's command buffer VAddr. (diff) | |
download | yuzu-811c01e5fec3a1cc7a6faf5eaed11d1aaef31768.tar yuzu-811c01e5fec3a1cc7a6faf5eaed11d1aaef31768.tar.gz yuzu-811c01e5fec3a1cc7a6faf5eaed11d1aaef31768.tar.bz2 yuzu-811c01e5fec3a1cc7a6faf5eaed11d1aaef31768.tar.lz yuzu-811c01e5fec3a1cc7a6faf5eaed11d1aaef31768.tar.xz yuzu-811c01e5fec3a1cc7a6faf5eaed11d1aaef31768.tar.zst yuzu-811c01e5fec3a1cc7a6faf5eaed11d1aaef31768.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 347c08c78..5d4eb56a9 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -205,6 +205,8 @@ void Write16(VAddr addr, u16 data); void Write32(VAddr addr, u32 data); 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 VAddr dest_addr, const void* src_buffer, size_t size); void ZeroBlock(const VAddr dest_addr, const size_t size); |