2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

gl_shader_decompiler: Get rid of variable shadowing within LEA instructions

These variables are already defined within an outer scope.
This commit is contained in:
Lioncash 2018-09-13 21:53:20 -04:00
parent 8e7497d5bb
commit ae128f0375

View file

@ -1510,8 +1510,6 @@ private:
case OpCode::Id::LEA_IMM: case OpCode::Id::LEA_IMM:
case OpCode::Id::LEA_RZ: case OpCode::Id::LEA_RZ:
case OpCode::Id::LEA_HI: { case OpCode::Id::LEA_HI: {
std::string op_a;
std::string op_b;
std::string op_c; std::string op_c;
switch (opcode->GetId()) { switch (opcode->GetId()) {