[goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO (#1625)

[goalc] start can compile and run code for jak2 ckernel, set up dummy KERNEL.CGO
This commit is contained in:
water111
2022-07-08 19:23:49 -04:00
committed by GitHub
parent c0efde2763
commit 5e23057ed1
36 changed files with 1467 additions and 121 deletions
+2 -1
View File
@@ -117,7 +117,8 @@ ObjectFileDB::ObjectFileDB(const std::vector<fs::path>& _dgos,
const fs::path& obj_file_name_map_file,
const std::vector<fs::path>& object_files,
const std::vector<fs::path>& str_files,
const Config& config) {
const Config& config)
: dts(config.game_version) {
Timer timer;
lg::info("-Loading types...");
+1 -1
View File
@@ -311,7 +311,7 @@ void ObjectFileDB::ir2_analyze_all_types(const fs::path& output_file,
std::vector<PerObject> per_object;
DecompilerTypeSystem previous_game_ts;
DecompilerTypeSystem previous_game_ts(GameVersion::Jak1); // version here doesn't matter.
if (previous_game_types) {
previous_game_ts.parse_type_defs({*previous_game_types});
}