mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 06:30:44 -04:00
im bored.
This commit is contained in:
@@ -660,7 +660,7 @@ void SimpleExpressionElement::update_from_stack_identity(const Env& env,
|
||||
result->push_back(x);
|
||||
}
|
||||
} else if (arg.is_static_addr()) {
|
||||
auto& lab = env.file->labels.at(arg.label());
|
||||
const auto& lab = env.file->labels.at(arg.label());
|
||||
if (env.file->is_string(lab.target_segment, lab.offset)) {
|
||||
auto str = env.file->get_goal_string(lab.target_segment, lab.offset / 4 - 1, false);
|
||||
result->push_back(pool.alloc_element<StringConstantElement>(str));
|
||||
|
||||
Reference in New Issue
Block a user