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:
Tyler Wilding
2023-02-04 20:36:30 -05:00
committed by GitHub
parent fd6d59cd88
commit a83bd49426
69 changed files with 22021 additions and 539 deletions
+4 -6
View File
@@ -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;
}
}
}