mirror of
https://github.com/open-goal/jak-project
synced 2026-07-02 04:26:09 -04:00
[decompiler] fix rare bug with casts (#1920)
This commit is contained in:
@@ -584,7 +584,7 @@ FormElement* rewrite_as_countdown(LetElement* in, const Env& env, FormPool& pool
|
||||
body->elts().erase(body->elts().begin());
|
||||
|
||||
return pool.alloc_element<CounterLoopElement>(CounterLoopElement::Kind::COUNTDOWN,
|
||||
in->entries().at(0).dest, *lt_var, *inc_var,
|
||||
in->entries().at(0).dest, *lt_var, ra,
|
||||
in->entries().at(0).src, body);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user