mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 17:00:57 +01:00
gl_shader_decompiler: Add a return path for unknown instructions.
This commit is contained in:
parent
84cadf9918
commit
7fa9177830
1 changed files with 1 additions and 0 deletions
|
@ -811,6 +811,7 @@ private:
|
|||
if (!opcode) {
|
||||
NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: {0:x}", instr.value);
|
||||
UNREACHABLE();
|
||||
return offset + 1;
|
||||
}
|
||||
|
||||
shader.AddLine("// " + std::to_string(offset) + ": " + opcode->GetName());
|
||||
|
|
Loading…
Reference in a new issue