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 | 1075c88dca4e55a075fbdb91f26798eb70aec9b4 (patch) | |
| tree | 00cfb8d70b13db1016006a8a9de99137a9736c08 /src/common/host_memory.h | |
| parent | a7fe636122da66a8e91588f14bdedf396020dcb7 (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 cebfacab28..747c5850c2 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; } |
