From ae45037489d2a65e285a3ff911abd89abf67c894 Mon Sep 17 00:00:00 2001 From: ManDude <7569514+ManDude@users.noreply.github.com> Date: Fri, 13 Oct 2023 03:41:55 +0100 Subject: [PATCH] fix `*jak1-full-game*` being flipped (#3085) --- decompiler/extractor/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decompiler/extractor/main.cpp b/decompiler/extractor/main.cpp index e31cc6e8b..74a9b594f 100644 --- a/decompiler/extractor/main.cpp +++ b/decompiler/extractor/main.cpp @@ -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";