mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Fixed GBI Floats
This commit is contained in:
@@ -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"]) {
|
||||
|
||||
Reference in New Issue
Block a user