From 3d36d4b317023106a6f2e554e2b5f7a8207b92aa Mon Sep 17 00:00:00 2001 From: Raul Ramirez Date: Fri, 16 Aug 2024 07:36:11 -0600 Subject: [PATCH] Update src/shader_recompiler/frontend/control_flow_graph.cpp Co-authored-by: Exhigh --- src/shader_recompiler/frontend/control_flow_graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shader_recompiler/frontend/control_flow_graph.cpp b/src/shader_recompiler/frontend/control_flow_graph.cpp index 2632c931f..a9943f482 100644 --- a/src/shader_recompiler/frontend/control_flow_graph.cpp +++ b/src/shader_recompiler/frontend/control_flow_graph.cpp @@ -102,7 +102,7 @@ void CFG::EmitBlocks() { // [0,1], [1,2], [2,3], [3,4], [4,5] for (int i = 0; i < labels.size() - 2; ++i) { - const Label start = lables[i]; + const Label start = labels[i]; const Label end = labels[i+1]; // TODO: Investigate how to make sure this does not go out of bounds.