mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
[decomp] progress (#780)
* cleanup `main` * whitespace * start `progress` decomp pt1 * fill in more stuff * Update label_types.jsonc * run cheats * clang * make most of `progress` decompile * `progress` pt 2 * [decompiler] support dynamic format strings * Make `progress-draw` decompile and almost all `progress` * make clang shut up * fix unhandled format string * fix `progress-draw` * Update DecompilerTypeSystem.cpp * fix? * fixes * fix a few functions * make `language-enum` * warn on weird floats * fix minor pad bug * dump stuff in `progress` * make `progress-screen` enum * progress progress * update refs and fix stupid bug * trying to get it to work * it works!? * disable sound functions * fixes * final touches * tests * tests * add process allocations * use the right register for windows * another try for windows, counting is hard * one more try * use process allocations Co-authored-by: water <awaterford111445@gmail.com>
This commit is contained in:
@@ -173,6 +173,9 @@ Config read_config_file(const std::string& path_to_config_file) {
|
||||
config.hacks.blocks_ending_in_asm_branch_by_func_name =
|
||||
hacks_json.at("blocks_ending_in_asm_branch")
|
||||
.get<std::unordered_map<std::string, std::unordered_set<int>>>();
|
||||
config.hacks.format_ops_with_dynamic_string_by_func_name =
|
||||
hacks_json.at("dynamic_format_arg_counts")
|
||||
.get<std::unordered_map<std::string, std::vector<std::vector<int>>>>();
|
||||
|
||||
for (auto& entry : hacks_json.at("cond_with_else_max_lengths")) {
|
||||
auto func_name = entry.at(0).get<std::string>();
|
||||
@@ -187,4 +190,4 @@ Config read_config_file(const std::string& path_to_config_file) {
|
||||
return config;
|
||||
}
|
||||
|
||||
} // namespace decompiler
|
||||
} // namespace decompiler
|
||||
|
||||
Reference in New Issue
Block a user