From 9d508fc94cd52ab90a64706906bc5307458dc7c0 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Sat, 1 Mar 2025 23:34:48 -0600 Subject: Fixed GBI Floats --- src/Companion.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Companion.cpp') diff --git a/src/Companion.cpp b/src/Companion.cpp index 8b0def9..885ca2f 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -1032,6 +1032,7 @@ void Companion::Process() { this->gAssetPath = rom["path"].as(); auto opath = cfg["output"]; auto gbi = cfg["gbi"]; + auto gbi_floats = cfg["gbi_floats"]; auto modding_path = opath && opath["modding"] ? opath["modding"].as() : "modding"; this->gConfig.moddingPath = modding_path; @@ -1086,6 +1087,10 @@ void Companion::Process() { SPDLOG_ERROR("Invalid GBI version"); return; } + + if(gbi_floats) { + this->gConfig.gbi.useFloats = gbi_floats.as(); + } } if(auto sort = cfg["sort"]) { -- cgit v1.2.3