diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2025-01-16 01:17:34 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2025-01-16 01:17:34 -0600 |
| commit | b96910b18fcd7d3f71a7b8161236ef00254a45e6 (patch) | |
| tree | f93d822d8f6299463102efe1845632f432910235 /src/Companion.cpp | |
| parent | 7da8ae8e25d6c1267792941bf9ac56c1acc384ae (diff) | |
Fixed audio processing
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index cde1083..5a82b3f 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -1507,9 +1507,9 @@ std::optional<YAML::Node> Companion::AddAsset(YAML::Node asset) { auto found = std::get<1>(decl.value()); if(GetSafeNode<std::string>(found, "type") != type) { SPDLOG_ERROR("Asset clash detected {} vs {} at 0x{:X}", type, GetSafeNode<std::string>(found, "type"), offset); + } else { + return found; } - - return found; } auto rom = this->GetRomData(); |
