1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Fix display of unknown source locations in asm view.

This commit is contained in:
Bartosz Taudul 2020-06-04 19:39:43 +02:00
parent ce2e01bcd7
commit e19a981b8c

View File

@ -2483,8 +2483,10 @@ void SourceView::RenderAsmLine( AsmLine& line, uint32_t ipcnt, uint32_t iptotal,
else
{
SmallColorBox( 0 );
ImGui::SameLine();
TextDisabledUnformatted( "[unknown]" );
ImGui::SameLine( 0, 0 );
ImGui::ItemSize( ImVec2( stw * 32, ty ), 0 );
ImGui::ItemSize( ImVec2( stw * 23, ty ), 0 );
}
}
if( m_asmBytes )