mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 06:53:45 -04:00
decomp: target, target-board, board-states (#1915)
Just missing `target-board-handler` because it errored with `Bad delay slot in clean_up_cond_no_else_final` and I wasn't able to figure out where the asm branch was. Commented out `target-board-clone-anim` because it crashes even after adding `clone-anim` and `clone-anim-once`.
This commit is contained in:
@@ -741,7 +741,8 @@ void clean_up_cond_no_else_final(Function& func, CondNoElseElement* cne) {
|
||||
if (branch_info_i.written_and_unused.find(reg->reg()) ==
|
||||
branch_info_i.written_and_unused.end()) {
|
||||
lg::error("Branch delay register used improperly: {}", reg->to_string(func.ir2.env));
|
||||
throw std::runtime_error("Bad delay slot in clean_up_cond_no_else_final");
|
||||
throw std::runtime_error("Bad delay slot in clean_up_cond_no_else_final: OP " +
|
||||
std::to_string(branch->op()->op_id()));
|
||||
}
|
||||
// ASSERT(branch_info_i.written_and_unused.find(reg->reg()) !=
|
||||
// branch_info_i.written_and_unused.end());
|
||||
|
||||
Reference in New Issue
Block a user