summaryrefslogtreecommitdiffstats
path: root/src/common/host_memory.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-13 21:32:25 +0100
committerLiam <byteslice@airmail.cc>2023-12-15 05:44:33 +0100
commit8ad5f2c50648c333c3c46f89533e200a39bf6ca8 (patch)
tree00cfb8d70b13db1016006a8a9de99137a9736c08 /src/common/host_memory.h
parentMerge pull request #12354 from liamwhite/mackage-panager (diff)
downloadyuzu-8ad5f2c50648c333c3c46f89533e200a39bf6ca8.tar
yuzu-8ad5f2c50648c333c3c46f89533e200a39bf6ca8.tar.gz
yuzu-8ad5f2c50648c333c3c46f89533e200a39bf6ca8.tar.bz2
yuzu-8ad5f2c50648c333c3c46f89533e200a39bf6ca8.tar.lz
yuzu-8ad5f2c50648c333c3c46f89533e200a39bf6ca8.tar.xz
yuzu-8ad5f2c50648c333c3c46f89533e200a39bf6ca8.tar.zst
yuzu-8ad5f2c50648c333c3c46f89533e200a39bf6ca8.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;
}