diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-16 17:47:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-16 17:47:03 +0100 |
commit | fde8dc1652aa886210a9fa45bf2b859e14c11b37 (patch) | |
tree | bbea883a222d556a8a917f70ec384cac5f6efcff /src/common/host_memory.h | |
parent | Merge pull request #12359 from german77/real_shared (diff) | |
parent | common: use memory holepunching when clearing memory (diff) | |
download | yuzu-fde8dc1652aa886210a9fa45bf2b859e14c11b37.tar yuzu-fde8dc1652aa886210a9fa45bf2b859e14c11b37.tar.gz yuzu-fde8dc1652aa886210a9fa45bf2b859e14c11b37.tar.bz2 yuzu-fde8dc1652aa886210a9fa45bf2b859e14c11b37.tar.lz yuzu-fde8dc1652aa886210a9fa45bf2b859e14c11b37.tar.xz yuzu-fde8dc1652aa886210a9fa45bf2b859e14c11b37.tar.zst yuzu-fde8dc1652aa886210a9fa45bf2b859e14c11b37.zip |
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; } |