early-access version 1266

main
pineappleEA 2020-12-30 09:56:28 +00:00
parent d363a1bef6
commit 81903025c0
3 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access yuzu emulator early access
============= =============
This is the source code for early-access 1265. This is the source code for early-access 1266.
## Legal Notice ## Legal Notice

View File

@ -734,6 +734,7 @@ void RasterizerOpenGL::InvalidateTextureCache(VAddr addr, u64 size) {
if (addr == 0 || size == 0) { if (addr == 0 || size == 0) {
return; return;
} }
auto lock = texture_cache.AcquireLock();
texture_cache.UnmapMemory(addr, size); texture_cache.UnmapMemory(addr, size);
} }

View File

@ -670,6 +670,7 @@ void Vulkan::RasterizerVulkan::InvalidateTextureCache(VAddr addr, u64 size) {
if (addr == 0 || size == 0) { if (addr == 0 || size == 0) {
return; return;
} }
auto lock = texture_cache.AcquireLock();
texture_cache.UnmapMemory(addr, size); texture_cache.UnmapMemory(addr, size);
} }