yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

gl_shader_decompiler: Add a return path for unknown instructions.

This commit is contained in:
bunnei 2018-06-27 01:14:34 -04:00 committed by GitHub
parent 84cadf9918
commit 7fa9177830
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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());