diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-05 12:43:54 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-05 20:00:10 +0100 |
commit | b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a (patch) | |
tree | 329e2e9e818cf88753b86d01b3351ba1f2d6eb2e /src/video_core/memory_manager.cpp | |
parent | Fermi2D: sync cache flushes (diff) | |
download | yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.gz yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.bz2 yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.lz yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.xz yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.tar.zst yuzu-b56ad93bbc9ac38820c1e1cb4b03256dd50aa17a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/memory_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp index 0a6390054..3bcae3503 100644 --- a/src/video_core/memory_manager.cpp +++ b/src/video_core/memory_manager.cpp @@ -46,7 +46,7 @@ MemoryManager::MemoryManager(Core::System& system_, u64 address_space_bits_, u64 big_page_table_cpu.resize(big_page_table_size); big_page_continous.resize(big_page_table_size / continous_bits, 0); entries.resize(page_table_size / 32, 0); - if (!Settings::IsGPULevelExtreme()) { + if (!Settings::IsGPULevelExtreme() && Settings::IsFastmemEnabled()) { fastmem_arena = system.DeviceMemory().buffer.VirtualBasePointer(); } else { fastmem_arena = nullptr; |