diff options
| author | 2016-04-16 09:14:18 +0100 | |
|---|---|---|
| committer | 2016-05-21 11:12:36 -0500 | |
| commit | 3873b36db333547152280b741e85aa54c69d8199 (patch) | |
| tree | ff2e3d97d305ca49fc0e260563d27c716807c1fa /src/core/memory.h | |
| parent | Memory: IsValidVirtualAddress/IsValidPhysicalAddress (diff) | |
| download | yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.gz yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.xz yuzu-3873b36db333547152280b741e85aa54c69d8199.zip | |
Memory: ReadBlock/WriteBlock
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); | |||
| 118 | u32 Read32(VAddr addr); | 118 | u32 Read32(VAddr addr); |
| 119 | u64 Read64(VAddr addr); | 119 | u64 Read64(VAddr addr); |
| 120 | 120 | ||
| 121 | void ReadBlock(const VAddr src_addr, u8* dest_buffer, size_t size); | ||
| 122 | |||
| 121 | void Write8(VAddr addr, u8 data); | 123 | void Write8(VAddr addr, u8 data); |
| 122 | void Write16(VAddr addr, u16 data); | 124 | void Write16(VAddr addr, u16 data); |
| 123 | void Write32(VAddr addr, u32 data); | 125 | void Write32(VAddr addr, u32 data); |
| 124 | void Write64(VAddr addr, u64 data); | 126 | void Write64(VAddr addr, u64 data); |
| 125 | 127 | ||
| 126 | void WriteBlock(VAddr addr, const u8* data, size_t size); | 128 | void WriteBlock(const VAddr dest_addr, const u8* src_buffer, size_t size); |
| 127 | 129 | ||
| 128 | u8* GetPointer(VAddr virtual_address); | 130 | u8* GetPointer(VAddr virtual_address); |
| 129 | 131 | ||