From 0b67df1f7c09696e928a357f1b8e22a198cfa3b4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 26 Jul 2021 04:16:32 -0400 Subject: control_flow: Fix duplicate switch case in OpcodeToken This previously duplicated the case of the PBK case above it. --- src/shader_recompiler/frontend/maxwell/control_flow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shader_recompiler/frontend/maxwell/control_flow.cpp') diff --git a/src/shader_recompiler/frontend/maxwell/control_flow.cpp b/src/shader_recompiler/frontend/maxwell/control_flow.cpp index 1a954a509..efe457baa 100644 --- a/src/shader_recompiler/frontend/maxwell/control_flow.cpp +++ b/src/shader_recompiler/frontend/maxwell/control_flow.cpp @@ -73,7 +73,7 @@ Token OpcodeToken(Opcode opcode) { return Token::PBK; case Opcode::PCNT: case Opcode::CONT: - return Token::PBK; + return Token::PCNT; case Opcode::PEXIT: case Opcode::EXIT: return Token::PEXIT; -- cgit v1.2.3