From 81903025c0a03eceecf20e7eb3a6fb150b4e883c Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Wed, 30 Dec 2020 09:56:28 +0000 Subject: [PATCH] early-access version 1266 --- README.md | 2 +- src/video_core/renderer_opengl/gl_rasterizer.cpp | 1 + src/video_core/renderer_vulkan/vk_rasterizer.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e30422bf8..d128b4cde 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 1265. +This is the source code for early-access 1266. ## Legal Notice diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index c2605baec..34c85baf9 100755 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -734,6 +734,7 @@ void RasterizerOpenGL::InvalidateTextureCache(VAddr addr, u64 size) { if (addr == 0 || size == 0) { return; } + auto lock = texture_cache.AcquireLock(); texture_cache.UnmapMemory(addr, size); } diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 8a07ec48a..6dea9a808 100755 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -670,6 +670,7 @@ void Vulkan::RasterizerVulkan::InvalidateTextureCache(VAddr addr, u64 size) { if (addr == 0 || size == 0) { return; } + auto lock = texture_cache.AcquireLock(); texture_cache.UnmapMemory(addr, size); }