diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-16 10:14:18 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-05-21 18:12:36 +0200 |
commit | 3873b36db333547152280b741e85aa54c69d8199 (patch) | |
tree | ff2e3d97d305ca49fc0e260563d27c716807c1fa /src/core/memory.h | |
parent | Memory: IsValidVirtualAddress/IsValidPhysicalAddress (diff) | |
download | yuzu-3873b36db333547152280b741e85aa54c69d8199.tar yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.gz yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.bz2 yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.lz yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.xz yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.zst yuzu-3873b36db333547152280b741e85aa54c69d8199.zip |
Diffstat (limited to 'src/core/memory.h')
-rw-r--r-- | src/core/memory.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 9ada78fc8..35bd5eb0c 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -118,12 +118,14 @@ u16 Read16(VAddr addr); u32 Read32(VAddr addr); u64 Read64(VAddr addr); +void ReadBlock(const VAddr src_addr, u8* dest_buffer, size_t size); + void Write8(VAddr addr, u8 data); void Write16(VAddr addr, u16 data); void Write32(VAddr addr, u32 data); void Write64(VAddr addr, u64 data); -void WriteBlock(VAddr addr, const u8* data, size_t size); +void WriteBlock(const VAddr dest_addr, const u8* src_buffer, size_t size); u8* GetPointer(VAddr virtual_address); |