diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-05 12:06:33 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-05 12:06:33 +0100 |
commit | af5ecb0b15d4449f58434e70eed835cf71fc5527 (patch) | |
tree | 668943cf63ff7dd94fcbbea26dcf321863e9a54a /src/video_core/memory_manager.h | |
parent | video_core: Cache GPU internal writes. (diff) | |
download | yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.gz yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.bz2 yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.lz yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.xz yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.tar.zst yuzu-af5ecb0b15d4449f58434e70eed835cf71fc5527.zip |
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; |