diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2024-02-01 12:42:11 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2024-02-01 13:00:36 +0100 |
commit | f740d8b9be1b42dae9ac6d7311a55b0c34b5a8e1 (patch) | |
tree | 9338fba6a364f7f0eafcfb949183df85b4e0cdad /src/video_core/memory_manager.h | |
parent | Merge pull request #12870 from liamwhite/mac-ci (diff) | |
download | yuzu-f740d8b9be1b42dae9ac6d7311a55b0c34b5a8e1.tar yuzu-f740d8b9be1b42dae9ac6d7311a55b0c34b5a8e1.tar.gz yuzu-f740d8b9be1b42dae9ac6d7311a55b0c34b5a8e1.tar.bz2 yuzu-f740d8b9be1b42dae9ac6d7311a55b0c34b5a8e1.tar.lz yuzu-f740d8b9be1b42dae9ac6d7311a55b0c34b5a8e1.tar.xz yuzu-f740d8b9be1b42dae9ac6d7311a55b0c34b5a8e1.tar.zst yuzu-f740d8b9be1b42dae9ac6d7311a55b0c34b5a8e1.zip |
Diffstat (limited to 'src/video_core/memory_manager.h')
-rw-r--r-- | src/video_core/memory_manager.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index c5255f36c..ac7c1472a 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -36,10 +36,11 @@ namespace Tegra { class MemoryManager final { public: explicit MemoryManager(Core::System& system_, u64 address_space_bits_ = 40, - u64 big_page_bits_ = 16, u64 page_bits_ = 12); - explicit MemoryManager(Core::System& system_, MaxwellDeviceMemoryManager& memory_, - u64 address_space_bits_ = 40, u64 big_page_bits_ = 16, + GPUVAddr split_address = 1ULL << 34, u64 big_page_bits_ = 16, u64 page_bits_ = 12); + explicit MemoryManager(Core::System& system_, MaxwellDeviceMemoryManager& memory_, + u64 address_space_bits_ = 40, GPUVAddr split_address = 1ULL << 34, + u64 big_page_bits_ = 16, u64 page_bits_ = 12); ~MemoryManager(); size_t GetID() const { @@ -192,6 +193,7 @@ private: MaxwellDeviceMemoryManager& memory; const u64 address_space_bits; + GPUVAddr split_address; const u64 page_bits; u64 address_space_size; u64 page_size; |