Skip to content

Commit ae1cd01

Browse files
authored
Merge pull request #966 from alphanin9/tweakdbid-tostring-fix
Fixed TweakDBID::ToString() not giving human readable TDBID
2 parents d543378 + ed57069 commit ae1cd01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reverse/BasicTypes.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ std::string TweakDBID::AsString() const noexcept
7979
std::string TweakDBID::ToString() const noexcept
8080
{
8181
const auto resolved = CET::Get().GetVM().GetTDBIDString(value, true);
82-
if (!resolved.empty())
82+
if (resolved.empty())
8383
return fmt::format("ToTweakDBID{{ hash = 0x{:08X}, length = {:d} }}", name_hash, name_length);
8484
return fmt::format("ToTweakDBID{{ hash = 0x{:08X}, length = {:d} --[[ {} --]] }}", name_hash, name_length, resolved);
8585
}

0 commit comments

Comments
 (0)