mirror of
https://github.com/open-goal/jak-project
synced 2026-08-05 17:44:39 -04:00
improve macro detection
This commit is contained in:
@@ -46,6 +46,9 @@ Config make_config_via_json(nlohmann::json& json) {
|
||||
config.expected_elf_name = json.at("expected_elf_name").get<std::string>();
|
||||
}
|
||||
config.all_types_file = json.at("all_types_file").get<std::string>();
|
||||
if (json.contains("demacro_file")) {
|
||||
config.demacro_file = json.at("demacro_file").get<std::string>();
|
||||
}
|
||||
|
||||
auto inputs_json = read_json_file_from_config(json, "inputs_file");
|
||||
config.dgo_names = json.contains("dgo_names")
|
||||
|
||||
Reference in New Issue
Block a user