Return whole mapping for shader code when end instrs aren't found

This commit is contained in:
Billy Laws 2022-11-25 17:28:38 +00:00
parent d849875656
commit 45b10ef776

View File

@ -87,7 +87,7 @@ namespace skyline::gpu::interconnect {
return span{shaderInstructions.begin(), it}.cast<u8>();
}
return span<u8>{};
return mapping;
}(blockMappingMirror.subspan(blockOffset));
binary.baseOffset = programOffset;