mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 06:54:31 -04:00
[decompiler] automatically label things when possible (#784)
* improve label system * clean up menu * debug menu working, still need to fix tests * fix tests and clean up
This commit is contained in:
@@ -331,7 +331,7 @@ std::string ObjectFileDB::generate_dgo_listing() {
|
||||
for (const auto& name : dgo_names) {
|
||||
result += "(\"" + name + "\"\n";
|
||||
for (auto& obj_rec : obj_files_by_dgo[name]) {
|
||||
auto obj = lookup_record(obj_rec);
|
||||
auto& obj = lookup_record(obj_rec);
|
||||
std::string extension = ".o";
|
||||
if (obj.obj_version == 4 || obj.obj_version == 2) {
|
||||
extension = ".go";
|
||||
|
||||
Reference in New Issue
Block a user