fix *jak1-full-game* being flipped (#3085)

This commit is contained in:
ManDude 2023-10-13 03:41:55 +01:00 committed by GitHub
parent 60eaac8051
commit ae45037489
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,7 +227,7 @@ ExtractorErrorCode compile(const fs::path& iso_data_path, const std::string& dat
if (version_info.game_name == "jak1") {
compiler.make_system().set_constant("*jak1-full-game*", !(flags & FLAG_JAK1_BLACK_LABEL));
compiler.get_goos().set_global_variable_to_symbol(
"*jak1-full-game*", (flags & FLAG_JAK1_BLACK_LABEL) ? "#t" : "#f");
"*jak1-full-game*", !(flags & FLAG_JAK1_BLACK_LABEL) ? "#t" : "#f");
}
auto project_path = file_util::get_jak_project_dir() / "goal_src" / data_subfolder / "game.gp";