decomp: finalize rigid-body

This commit is contained in:
Tyler Wilding
2021-08-07 18:29:44 -04:00
parent ef81529855
commit 4f331b5f79
16 changed files with 2601 additions and 56 deletions
+3 -3
View File
@@ -654,9 +654,9 @@ void SimpleExpressionElement::update_from_stack_float_2(const Env& env,
} else {
auto type0 = env.get_types_before_op(m_my_idx).get(m_expr.get_arg(0).var().reg());
auto type1 = env.get_types_before_op(m_my_idx).get(m_expr.get_arg(1).var().reg());
throw std::runtime_error(
fmt::format("[OP: {}] - Floating point math attempted on invalid types: {} and {} in op {}.",
m_my_idx, type0.print(), type1.print(), to_string(env)));
throw std::runtime_error(fmt::format(
"[OP: {}] - Floating point math attempted on invalid types: {} and {} in op {}.", m_my_idx,
type0.print(), type1.print(), to_string(env)));
}
}