mirror of
https://github.com/open-goal/jak-project
synced 2026-06-19 16:00:12 -04:00
Fix GCC build (#1992)
Not sure why but using the static members here caused a linker error, but they're only used in one place so I just passed them as constants.
This commit is contained in:
@@ -21,13 +21,13 @@ using namespace decompiler;
|
||||
|
||||
void FormRegressionTestJak1::SetUpTestCase() {
|
||||
parser = std::make_unique<InstructionParser>();
|
||||
dts = std::make_unique<DecompilerTypeSystem>(game_version);
|
||||
dts = std::make_unique<DecompilerTypeSystem>(GameVersion::Jak1);
|
||||
dts->parse_type_defs({"decompiler", "config", "all-types.gc"});
|
||||
}
|
||||
|
||||
void FormRegressionTestJak2::SetUpTestCase() {
|
||||
parser = std::make_unique<InstructionParser>();
|
||||
dts = std::make_unique<DecompilerTypeSystem>(game_version);
|
||||
dts = std::make_unique<DecompilerTypeSystem>(GameVersion::Jak2);
|
||||
dts->parse_type_defs({"decompiler", "config", "jak2", "all-types.gc"});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user