summaryrefslogtreecommitdiffstats
path: root/src/common/host_memory.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-12-16 17:47:03 +0100
committerGitHub <noreply@github.com>2023-12-16 17:47:03 +0100
commitfde8dc1652aa886210a9fa45bf2b859e14c11b37 (patch)
treebbea883a222d556a8a917f70ec384cac5f6efcff /src/common/host_memory.h
parentMerge pull request #12359 from german77/real_shared (diff)
parentcommon: use memory holepunching when clearing memory (diff)
downloadyuzu-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.h2
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;
}