diff options
| author | coco875 <pereira.jannin@gmail.com> | 2025-07-09 02:55:09 +0200 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-07-08 20:32:34 -0600 |
| commit | ae23a730b2213037d784b54fe82d40885e2281b7 (patch) | |
| tree | ca8ffc5885af889ac1892c1991faf48bb9cc3029 /src/Companion.cpp | |
| parent | 9f6225218aab4d63f713194b5d65f41c121ef0fc (diff) | |
Update Companion.cpp
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index e778494..2df1109 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -264,7 +264,6 @@ void Companion::ParseEnums(std::string& header) { std::optional<ParseResultData> Companion::ParseNode(YAML::Node& node, std::string& name) { auto type = GetTypeNode(node); - std::transform(type.begin(), type.end(), type.begin(), ::toupper); spdlog::set_pattern(regular); if(node["offset"]) { @@ -1469,7 +1468,7 @@ std::optional<std::tuple<std::string, YAML::Node>> Companion::GetSafeNodeByAddr( auto n_type = GetTypeNode(n); if(n_type != type) { - throw std::runtime_error("Requested node type does not match with the target node type at " + Torch::to_hex(addr, false) + " Found: " + ConvertType(n_type) + " Expected: " + ConvertType(type)); + throw std::runtime_error("Requested node type does not match with the target node type at " + Torch::to_hex(addr, false) + " Found: " + n_type + " Expected: " + type); } return node; |
