mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 06:54:31 -04:00
d/jak2: finish onin-game and resolve type-hinting (array object) elements (#2188)
Fixes https://github.com/open-goal/jak-project/issues/2047
This commit is contained in:
@@ -282,16 +282,14 @@ void ObjectFileDB::ir2_top_level_pass(const Config& config) {
|
||||
func.type = TypeSpec("function");
|
||||
}
|
||||
|
||||
if (config.hacks.asm_functions_by_name.find(name) !=
|
||||
config.hacks.asm_functions_by_name.end()) {
|
||||
func.warnings.info("Flagged as asm by config");
|
||||
func.suspected_asm = true;
|
||||
}
|
||||
|
||||
if (config.hacks.mips2c_functions_by_name.find(name) !=
|
||||
config.hacks.mips2c_functions_by_name.end()) {
|
||||
func.warnings.info("Flagged as mips2c by config");
|
||||
func.suspected_asm = true;
|
||||
} else if (config.hacks.asm_functions_by_name.find(name) !=
|
||||
config.hacks.asm_functions_by_name.end()) {
|
||||
func.warnings.error("Flagged as asm by config");
|
||||
func.suspected_asm = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user