gl_shader_decompiler: HACK: Remove some unreachables so games run.

This commit is contained in:
bunnei
2018-04-17 22:42:07 -04:00
parent c71b78f3bc
commit 8bff67e0c1

View File

@@ -336,7 +336,7 @@ private:
NGLOG_CRITICAL(HW_GPU, "Unhandled arithmetic instruction: {} ({}): {}", NGLOG_CRITICAL(HW_GPU, "Unhandled arithmetic instruction: {} ({}): {}",
static_cast<unsigned>(instr.opcode.EffectiveOpCode()), static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
OpCode::GetInfo(instr.opcode).name, instr.hex); OpCode::GetInfo(instr.opcode).name, instr.hex);
UNREACHABLE(); // UNREACHABLE();
} }
} }
break; break;
@@ -433,7 +433,7 @@ private:
NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {} ({}): {}", NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {} ({}): {}",
static_cast<unsigned>(instr.opcode.EffectiveOpCode()), static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
OpCode::GetInfo(instr.opcode).name, instr.hex); OpCode::GetInfo(instr.opcode).name, instr.hex);
UNREACHABLE(); // UNREACHABLE();
} }
} }