From 016426eebf751c74cb7967c5523f54a9df3d7421 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Tue, 5 Apr 2022 02:21:42 +0200 Subject: [PATCH] early-access version 2645 --- README.md | 2 +- src/video_core/texture_cache/util.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 77e1d2ba5..99077d540 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 2644. +This is the source code for early-access 2645. ## Legal Notice diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp index 334cb7b05..d8e19cb2f 100755 --- a/src/video_core/texture_cache/util.cpp +++ b/src/video_core/texture_cache/util.cpp @@ -561,6 +561,7 @@ void SwizzleBlockLinearImage(Tegra::MemoryManager& gpu_memory, GPUVAddr gpu_addr for (s32 layer = 0; layer < info.resources.layers; ++layer) { const std::span src = input.subspan(host_offset); + gpu_memory.ReadBlockUnsafe(gpu_addr + guest_offset, dst.data(), dst.size_bytes()); SwizzleTexture(dst, src, bytes_per_block, num_tiles.width, num_tiles.height, num_tiles.depth, block.height, block.depth);