mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 07:25:37 -04:00
fix debugger
This commit is contained in:
@@ -733,6 +733,7 @@ void clean_up_cond_no_else_final(Function& func, CondNoElseElement* cne) {
|
||||
assert(branch);
|
||||
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");
|
||||
}
|
||||
// assert(branch_info_i.written_and_unused.find(reg->reg()) !=
|
||||
|
||||
Reference in New Issue
Block a user