diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-05 06:06:33 -0500 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-05 06:06:33 -0500 |
| commit | af5ecb0b15d4449f58434e70eed835cf71fc5527 (patch) | |
| tree | 668943cf63ff7dd94fcbbea26dcf321863e9a54a /src/video_core/memory_manager.h | |
| parent | 6c7eb81f7d871f5c08a4844471633a67725aae73 (diff) | |
MemoryManager: use fastmem directly.
Diffstat (limited to 'src/video_core/memory_manager.h')
| -rw-r--r-- | src/video_core/memory_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index e6de0d0cb..ff9e3c0b3 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -141,7 +141,7 @@ private: inline void MemoryOperation(GPUVAddr gpu_src_addr, std::size_t size, FuncMapped&& func_mapped, FuncReserved&& func_reserved, FuncUnmapped&& func_unmapped) const; - template <bool is_safe> + template <bool is_safe, bool use_fastmem> void ReadBlockImpl(GPUVAddr gpu_src_addr, void* dest_buffer, std::size_t size, VideoCommon::CacheType which) const; @@ -215,6 +215,7 @@ private: std::vector<u64> big_page_continous; std::vector<std::pair<VAddr, std::size_t>> page_stash{}; + u8* fastmem_arena{}; constexpr static size_t continous_bits = 64; |
