From 45b10ef77671394f474dd39343467b69272c223b Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Fri, 25 Nov 2022 17:28:38 +0000 Subject: [PATCH] Return whole mapping for shader code when end instrs aren't found --- .../main/cpp/skyline/gpu/interconnect/common/shader_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/interconnect/common/shader_cache.cpp b/app/src/main/cpp/skyline/gpu/interconnect/common/shader_cache.cpp index 2820c67f..183ce58e 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/common/shader_cache.cpp +++ b/app/src/main/cpp/skyline/gpu/interconnect/common/shader_cache.cpp @@ -87,7 +87,7 @@ namespace skyline::gpu::interconnect { return span{shaderInstructions.begin(), it}.cast(); } - return span{}; + return mapping; }(blockMappingMirror.subspan(blockOffset)); binary.baseOffset = programOffset;