diff options
| author | Liam <byteslice@airmail.cc> | 2023-12-13 15:32:25 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-12-14 23:44:33 -0500 |
| commit | 8ad5f2c50648c333c3c46f89533e200a39bf6ca8 (patch) | |
| tree | 00cfb8d70b13db1016006a8a9de99137a9736c08 /src/common/host_memory.h | |
| parent | 462ba1b360c4c314d5ae57cbe6df240562664f8c (diff) | |
common: use memory holepunching when clearing memory
Diffstat (limited to 'src/common/host_memory.h')
| -rw-r--r-- | src/common/host_memory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/host_memory.h b/src/common/host_memory.h index cebfacab2..747c5850c 100644 --- a/src/common/host_memory.h +++ b/src/common/host_memory.h @@ -48,6 +48,8 @@ public: void EnableDirectMappedAddress(); + void ClearBackingRegion(size_t physical_offset, size_t length, u32 fill_value); + [[nodiscard]] u8* BackingBasePointer() noexcept { return backing_base; } |
