diff options
| author | 2023-11-17 20:57:39 +0200 | |
|---|---|---|
| committer | 2023-11-25 00:46:15 -0500 | |
| commit | 4766baddf3501695b6048ed78f251f4ec28ae0aa (patch) | |
| tree | 963df957037a5155d919973c4a66d12a34df58dd /src/common/host_memory.h | |
| parent | host_memory: ensure map base is between 36 and 39 bits (diff) | |
| download | yuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.tar.gz yuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.tar.xz yuzu-4766baddf3501695b6048ed78f251f4ec28ae0aa.zip | |
host_memory: Switch to FreeRegionManager
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 447975ded..4014a1962 100644 --- a/src/common/host_memory.h +++ b/src/common/host_memory.h | |||
| @@ -37,6 +37,8 @@ public: | |||
| 37 | 37 | ||
| 38 | void Protect(size_t virtual_offset, size_t length, bool read, bool write); | 38 | void Protect(size_t virtual_offset, size_t length, bool read, bool write); |
| 39 | 39 | ||
| 40 | void EnableDirectMappedAddress(); | ||
| 41 | |||
| 40 | [[nodiscard]] u8* BackingBasePointer() noexcept { | 42 | [[nodiscard]] u8* BackingBasePointer() noexcept { |
| 41 | return backing_base; | 43 | return backing_base; |
| 42 | } | 44 | } |