diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2025-03-01 23:34:48 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2025-03-01 23:34:48 -0600 |
| commit | 9d508fc94cd52ab90a64706906bc5307458dc7c0 (patch) | |
| tree | f491fa47ecf88b73cc9ed7dc730fc1493f819e02 /src/Companion.cpp | |
| parent | 7598e2932c3b8e0c08cddd2ac52ab735dbeefdf0 (diff) | |
Fixed GBI Floats
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<std::string>(); auto opath = cfg["output"]; auto gbi = cfg["gbi"]; + auto gbi_floats = cfg["gbi_floats"]; auto modding_path = opath && opath["modding"] ? opath["modding"].as<std::string>() : "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<bool>(); + } } if(auto sort = cfg["sort"]) { |
