mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Test audio xmls
This commit is contained in:
+1
-4
@@ -1230,9 +1230,7 @@ std::optional<std::tuple<std::string, YAML::Node>> Companion::RegisterAsset(cons
|
||||
|
||||
auto entry = std::make_tuple(output, node);
|
||||
this->gAddrMap[this->gCurrentFile][node["offset"].as<uint32_t>()] = entry;
|
||||
|
||||
|
||||
|
||||
|
||||
return entry;
|
||||
}
|
||||
|
||||
@@ -1418,7 +1416,6 @@ std::optional<YAML::Node> Companion::AddAsset(YAML::Node asset) {
|
||||
const auto symbol = GetSafeNode<std::string>(asset, "symbol", "");
|
||||
const auto decl = this->GetNodeByAddr(offset);
|
||||
|
||||
|
||||
if(decl.has_value()) {
|
||||
return std::get<1>(decl.value());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user