mirror of
https://github.com/open-goal/jak-project
synced 2026-09-06 19:21:00 -04:00
Fix compiler crashes and improve return statements. (#652)
* fix a few small bugs * fi * fix merge conflict
This commit is contained in:
@@ -724,6 +724,8 @@ goos::Object decompile_boxed_array(const DecompilerLabel& label,
|
||||
} else if (word.kind == LinkedWord::PTR) {
|
||||
result.push_back(
|
||||
decompile_at_label(content_type, labels.at(word.label_id), labels, words, ts));
|
||||
} else if (word.kind == LinkedWord::SYM_PTR) {
|
||||
result.push_back(pretty_print::to_symbol(fmt::format("'{}", word.symbol_name)));
|
||||
} else {
|
||||
throw std::runtime_error(
|
||||
fmt::format("Unknown content type in boxed array of references, word idx {}",
|
||||
|
||||
Reference in New Issue
Block a user