Fixed GBI Floats

This commit is contained in:
KiritoDv
2025-03-01 23:34:48 -06:00
parent 7598e2932c
commit 9d508fc94c
4 changed files with 16 additions and 4 deletions
+5
View File
@@ -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"]) {