Skip to content

Commit

Permalink
Fixed TweakDBID::ToString() not giving human readable TDBID
Browse files Browse the repository at this point in the history
  • Loading branch information
not_alphanine committed Sep 14, 2024
1 parent d543378 commit ed57069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reverse/BasicTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ std::string TweakDBID::AsString() const noexcept
std::string TweakDBID::ToString() const noexcept
{
const auto resolved = CET::Get().GetVM().GetTDBIDString(value, true);
if (!resolved.empty())
if (resolved.empty())
return fmt::format("ToTweakDBID{{ hash = 0x{:08X}, length = {:d} }}", name_hash, name_length);
return fmt::format("ToTweakDBID{{ hash = 0x{:08X}, length = {:d} --[[ {} --]] }}", name_hash, name_length, resolved);
}
Expand Down

0 comments on commit ed57069

Please sign in to comment.