summaryrefslogtreecommitdiffstats
path: root/src/common/host_memory.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-11-17 19:57:39 +0100
committert895 <clombardo169@gmail.com>2023-11-25 06:46:15 +0100
commit4766baddf3501695b6048ed78f251f4ec28ae0aa (patch)
tree963df957037a5155d919973c4a66d12a34df58dd /src/common/host_memory.h
parenthost_memory: ensure map base is between 36 and 39 bits (diff)
downloadyuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.tar
yuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.tar.gz
yuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.tar.bz2
yuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.tar.lz
yuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.tar.xz
yuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.tar.zst
yuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.zip
Diffstat (limited to '')
-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 447975ded..4014a1962 100644
--- a/src/common/host_memory.h
+++ b/src/common/host_memory.h
@@ -37,6 +37,8 @@ public:
void Protect(size_t virtual_offset, size_t length, bool read, bool write);
+ void EnableDirectMappedAddress();
+
[[nodiscard]] u8* BackingBasePointer() noexcept {
return backing_base;
}