Skip to content

Commit

Permalink
Merge pull request #682 from xTVaser/decomp/wateranim-rigid-body
Browse files Browse the repository at this point in the history
decomp: `water-anim` | `rigid-body` | `mud`
  • Loading branch information
water111 authored Aug 12, 2021
2 parents e743fe8 + 59a15bd commit a0f9817
Show file tree
Hide file tree
Showing 32 changed files with 7,590 additions and 344 deletions.
6 changes: 3 additions & 3 deletions decompiler/IR2/FormExpressionAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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("Floating point math attempted on invalid types: {} and {} in op {}.",
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)));
}
}

Expand Down
Loading

0 comments on commit a0f9817

Please sign in to comment.