From cbc698735134b27fcd8418780e5f3f046bfb2d47 Mon Sep 17 00:00:00 2001 From: ManDude <7569514+ManDude@users.noreply.github.com> Date: Mon, 18 Apr 2022 02:48:11 +0100 Subject: [PATCH] Fix fancy console colors not working for extractor (#1316) --- decompiler/extractor/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/decompiler/extractor/main.cpp b/decompiler/extractor/main.cpp index eb27c210d3..ed5fadc2af 100644 --- a/decompiler/extractor/main.cpp +++ b/decompiler/extractor/main.cpp @@ -1,5 +1,5 @@ #include "third-party/CLI11.hpp" -#include "third-party/fmt/core.h" +#include "common/log/log.h" #include "common/util/FileUtil.h" #include "decompiler/Disasm/OpcodeInfo.h" #include "decompiler/ObjectFile/ObjectFileDB.h" @@ -133,6 +133,8 @@ int main(int argc, char** argv) { bool flag_compile = false; bool flag_play = false; + lg::initialize(); + CLI::App app{"OpenGOAL Level Extraction Tool"}; app.add_option("game-files-path", data_dir_path, "The path to the folder with the ISO extracted or the ISO itself")