diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-05-07 16:55:18 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:11 +0200 |
commit | 6b0695b3cdd930b0157df8fd8f3c9d2dce328595 (patch) | |
tree | dca0a5da667579e5836d019b75e84c87567e80da /src/video_core/memory_manager.cpp | |
parent | texture_cache: Remove execution context copies from the texture cache (diff) | |
download | yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.gz yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.bz2 yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.lz yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.xz yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.zst yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.zip |
Diffstat (limited to 'src/video_core/memory_manager.cpp')
-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 5d8d126c1..74a1441e3 100644 --- a/src/video_core/memory_manager.cpp +++ b/src/video_core/memory_manager.cpp @@ -69,7 +69,7 @@ GPUVAddr MemoryManager::UnmapBuffer(GPUVAddr gpu_addr, u64 size) { const u64 aligned_size{Common::AlignUp(size, page_size)}; const CacheAddr cache_addr{ToCacheAddr(GetPointer(gpu_addr))}; - rasterizer.FlushAndInvalidateRegion(cache_addr, aligned_size); + rasterizer.FlushAndInvalidateRegionEx(gpu_addr, cache_addr, aligned_size); UnmapRange(gpu_addr, aligned_size); return gpu_addr; |