update decomp.bat in accordance to project directory changes + bugfix (#243)

* ObjectFileDB: Fix crash if obj list text has no objects

* rename "decomp.bat" to "decomp-jak1.bat"
This commit is contained in:
ManDude
2021-02-08 02:51:44 +00:00
committed by GitHub
parent 499f614cd1
commit 47fbc5e106
2 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -417,8 +417,10 @@ std::string ObjectFileDB::generate_obj_listing() {
assert(int(all_unique_names.size()) == unique_count);
}
result.pop_back(); // kill last new line
result.pop_back(); // kill last comma
if (result.length() >= 2) {
result.pop_back(); // kill last new line
result.pop_back(); // kill last comma
}
return result + "]";
}