Update src/shader_recompiler/frontend/control_flow_graph.cpp

Co-authored-by: Exhigh <exhigh01@gmail.com>
This commit is contained in:
Raul Ramirez 2024-08-16 07:36:11 -06:00 committed by GitHub
parent f5bb3d65af
commit 3d36d4b317
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.