mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Display proper hex value.
This commit is contained in:
parent
3f7abd478e
commit
8efc0a0a71
@ -3732,11 +3732,11 @@ void View::DrawMemory()
|
|||||||
{
|
{
|
||||||
if( v->ptr == m_memInfo.ptrFind )
|
if( v->ptr == m_memInfo.ptrFind )
|
||||||
{
|
{
|
||||||
ImGui::Text( "0x%08x", m_memInfo.ptrFind );
|
ImGui::Text( "0x%" PRIx64, m_memInfo.ptrFind );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ImGui::Text( "0x%08x+%" PRIu64, v->ptr, m_memInfo.ptrFind - v->ptr );
|
ImGui::Text( "0x%" PRIx64 "+%" PRIu64, v->ptr, m_memInfo.ptrFind - v->ptr );
|
||||||
}
|
}
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
ImGui::Text( "%s", RealToString( v->size, true ) );
|
ImGui::Text( "%s", RealToString( v->size, true ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user